This repository has been archived on 2026-04-05. You can view files and clone it, but cannot push or open issues or pull requests.
claude-persistent-agent/supervisord.conf
2026-04-04 22:40:48 -04:00

22 lines
519 B
Text

[supervisord]
nodaemon=true
logfile=/app/logs/supervisord.log
pidfile=/var/run/supervisord.pid
[program:fastapi]
command=python -m uvicorn backend.main:app --host 0.0.0.0 --port 8000
directory=/app
redirect_stderr=true
stdout_logfile=/app/logs/fastapi.log
autostart=true
autorestart=true
startsecs=10
[unix_http_server]
file=/var/run/supervisor.sock
[supervisorctl]
serverurl=unix:///var/run/supervisor.sock
[rpcinterface:supervisor]
supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface