fix: forced logging in the docker compose file
This commit is contained in:
@@ -34,7 +34,9 @@ services:
|
|||||||
- ./data:/data
|
- ./data:/data
|
||||||
- ./logs:/logs
|
- ./logs:/logs
|
||||||
# TODO: Hot reload (comment out in production)
|
# TODO: Hot reload (comment out in production)
|
||||||
#- ./alfred:/home/appuser/alfred
|
- ./alfred:/home/appuser/alfred
|
||||||
|
command: >
|
||||||
|
sh -c "python -u -m uvicorn alfred.app:app --host 0.0.0.0 --port 8000 2>&1 | tee -a /logs/alfred.log"
|
||||||
networks:
|
networks:
|
||||||
- alfred-net
|
- alfred-net
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user