mirror of
https://github.com/fastapi-practices/fastapi-best-architecture.git
synced 2026-09-21 13:12:24 +00:00
* Add granian and celery metrics collection * Update dashboards * Add asyncio instrument * Fix opera log finally
12 lines
488 B
Plaintext
12 lines
488 B
Plaintext
[program:fba_server]
|
|
directory=/fba/backend
|
|
command=/usr/local/bin/granian main:app --interface asgi --host 0.0.0.0 --port 8001 --metrics --metrics-address 0.0.0.0 --metrics-port 8002 --workers 1 --backlog 1024 --workers-kill-timeout 120 --backpressure 2000 --pid-file /var/run/granian.pid --log --log-level debug
|
|
user=root
|
|
autostart=true
|
|
autorestart=true
|
|
startretries=5
|
|
redirect_stderr=true
|
|
stdout_logfile=/var/log/fba/fba_server.log
|
|
stdout_logfile_maxbytes=5MB
|
|
stdout_logfile_backups=5
|