feat: enabled logging for alfred(-core)
This commit is contained in:
@@ -36,6 +36,8 @@ services:
|
|||||||
- ./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