websoft9/appmanage/config/supervisord.conf

13 lines
284 B
Plaintext
Raw Normal View History

2023-04-04 09:22:26 +08:00
[supervisord]
nodaemon=false
[program:appmanage]
2023-04-04 09:41:17 +08:00
command=uvicorn main:get_app --host 0.0.0.0 --port 5000 --log-level info
2023-04-04 09:22:26 +08:00
autostart=true
2023-04-04 09:41:17 +08:00
directory=/usr/src/app
2023-04-04 09:22:26 +08:00
[program:job]
2023-04-04 15:13:37 +08:00
command=rq worker --url redis://websoft9-redis:6379/0 --concurrency 1
2023-04-04 09:22:26 +08:00
autostart=true
2023-04-04 09:41:17 +08:00
directory=/usr/src/app