[Update] Docker Integration and Environment Updates#16
Conversation
|
Looks good! Just made some changes regarding wording in the README and the network bridge. I don't think a custom network bridge is necessary at the moment. If you have any objections let me know, otherwise I can merge this. |
|
Also another note- I think it might be nice to setup a github actions script to build an image automatically and publish it to ghcr moving forward. That way, the image is verified + always up to date. |
|
TL;DR - lets merge! I completely agree with pushing image via GHA to GHCR - I can add that in following commits - and all you need to do is add your GHCR creds to repo secrets. For me - in my local testing Docker did not have access to requests coming from phone - but if its working for you without bridge - I am good - lmk! |
|
I'm able to access it from another device- it's possible this was most likely a problem with DNS on your end |
Summary:
This PR introduces Docker and Docker Compose support, along with minor adjustments on Flask and env
Key Changes:
Docker Integration:
Dockerfilefor building the API using Python 3.13-slim.docker-compose.ymlto include a build section for local image creation.custom_bridge).Environment Variables:
APP_HOST,APP_PORT, andAPP_DEBUGfor easier configuration of the Flask app.Run Instructions updated on README:
docker-composeanddocker runcommands.Testing:
.envfile with appropriate environment variables.sync-datahappens