mirror of
https://github.com/fastapi-practices/fastapi_best_architecture.git
synced 2025-08-17 13:54:14 +08:00

* Replace APScheduler to Celery task * black format * Add celery to run the script * Update celery usage to README * Update test task * Add celery rabbitmq broker * Fix dockerfiles * Add task interface access authorization * Update celery deploy run * Fix dockerfiles * Fix supervisor conf * Update celery broker default is redis * Force the pro env to use rabbitmq * Update the task interface * Add celery beat README description * Update warning text style * Revoke the default config comment content of the supervisor
10 lines
245 B
Plaintext
10 lines
245 B
Plaintext
[program:fastapi_server]
|
|
directory=/fba
|
|
command=/usr/local/bin/gunicorn -c /fba/deploy/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
|