fix: forced logging in the docker compose file
This commit is contained in:
@@ -34,7 +34,9 @@ services:
|
||||
- ./data:/data
|
||||
- ./logs:/logs
|
||||
# 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:
|
||||
- alfred-net
|
||||
|
||||
|
||||
Reference in New Issue
Block a user