websoft9/appmanage/config/supervisord.conf
2023-04-04 15:36:40 +08:00

12 lines
281 B
Text

[supervisord]
nodaemon=false
[program:appmanage]
command=uvicorn main:get_app --host 0.0.0.0 --port 5000 --log-level info
autostart=true
directory=/usr/src/app
[program:job]
command=rq worker --url redis://websoft9-redis:6379/0 --max-jobs 1
autostart=true
directory=/usr/src/app