Gurucool_Test / supervisord.conf
ashwinR's picture
Rename supervisor.conf to supervisord.conf
42b2274
raw
history blame
378 Bytes
[supervisord]
nodaemon=true
[program:postgresql]
command=/usr/lib/postgresql/13/bin/postgres -D /var/lib/postgresql/13/main -c config_file=/etc/postgresql/13/main/postgresql.conf
autostart=true
autorestart=true
[program:redis]
command=redis-server
autostart=true
autorestart=true
[program:app]
command=uvicorn app:app --host 0.0.0.0 --port 80
autostart=true
autorestart=true