burr
burr copied to clipboard
feat: add docker and nginx support
[Short description explaining the high-level reason for the pull request] api.localhost will direct to api on port 7242 and telemetry.localhost will open the Burr UI
Changes
- add Docker support along with compose file
- nginx as a proxy for api and burr UI
- bug fixes
How I tested this
Tested the docker build
Notes
Checklist
- [x] PR has an informative and human-readable title (this will be pulled into the release notes)
- [x] Changes are limited to a single goal (no scope creep)
- [x] Code passed the pre-commit check & code is left cleaner/nicer than when first encountered.
- [x] Any change in functionality is tested
- [x] New functions are documented (with a description, list of inputs, and expected output)
- [x] Placeholder code is flagged / future TODOs are captured in comments
- [ ] Project documentation has been updated if adding/changing functionality.
[!IMPORTANT] Adds Docker and Nginx support for email assistant with proxy configuration and minor server updates.
- Docker and Nginx Support:
- Adds
Dockerfileto set up a Python environment and runwrapper.sh.- Adds
docker-compose.yamlto define services for the app and Nginx, exposing ports 7241 and 7242.- Adds
nginx.confto proxyapi.localhostto port 7242 andtelemetry.localhostto port 7241.- FastAPI Server:
- Adds root endpoint in
server.pyto return a welcome message.- Includes router with prefix
/email_assistantinserver.py.- Miscellaneous:
- Fixes type hint bug in
_run_through()inserver.py.- Adds
wrapper.shto start Burr UI and FastAPI server.This description was created by
for 54a77358465740284c0c70a4148efb431218e47a. It will automatically update as commits are pushed.