mirror of
https://github.com/fastapi-practices/fastapi-best-architecture.git
synced 2026-09-23 21:38:09 +00:00
* Update loguru config * Update config * fix log level * Update deploy log config
12 lines
306 B
Plaintext
12 lines
306 B
Plaintext
[program:fastapi_server]
|
|
directory=/fba
|
|
command=/usr/local/bin/gunicorn -c /fba/deploy/backend/gunicorn.conf.py main:app
|
|
user=root
|
|
autostart=true
|
|
autorestart=true
|
|
startretries=5
|
|
redirect_stderr=true
|
|
stdout_logfile=/var/log/fastapi_server/fba_server.log
|
|
stdout_logfile_maxbytes=5MB
|
|
stdout_logfile_backups=5
|