Program Definition
Daemon Behavior & Signals
Standard Output & Error Logging
; Supervisor Configuration File
; Generated by MiniToolDesk (https://minitooldesk.com/tools/supervisor-config-builder/)
[program:fastapi-web]
command=/var/www/app/venv/bin/gunicorn -w 4 -k uvicorn.workers.UvicornWorker -b 127.0.0.1:8000 main:app
directory=/var/www/app
user=www-data
autostart=true
autorestart=true
startsecs=5
startretries=3
stopsignal=TERM
stopasgroup=true
killasgroup=true
stdout_logfile=/var/log/supervisor/fastapi-web.log
stdout_logfile_maxbytes=50MB
stdout_logfile_backups=10
stderr_logfile=/var/log/supervisor/fastapi-web-err.log
stderr_logfile_maxbytes=50MB
stderr_logfile_backups=10
environment=ENVIRONMENT="production"
Deployment Quick Tip
Save to /etc/supervisor/conf.d/fastapi-web.conf and run supervisorctl reread && supervisorctl update.
Pin this tool to your browser side panel
Access this utility anytime with Alt+M without switching tabs. 100% offline & free.
How to build Supervisor configurations
- 1Choose your program name, startup command, and execution user.
- 2Configure daemon options including autostart, autorestart, and process counts.
- 3Set custom standard output and error log paths with rotation limits.
- 4Copy or download the .conf file to /etc/supervisor/conf.d/ and reload supervisorctl.
Zero-Downtime Worker Management
Generates production-grade Supervisor daemon configurations with clean process grouping and signal handlers.
Frequently Asked Questions
Enjoying Supervisor Config Builder & Generator?Help your engineering peers discover private, ad-free tools!
MiniToolDesk is 100% free and client-side. Your support keeps the web ad-free.
Related Developer Utilities
Docker Run to Compose Converter
Convert complex docker run CLI commands into clean, production-ready docker-compose.yml files
Nginx Config Generator
Visual builder for production-ready Nginx reverse proxy, SSL, and SPA configs
Dockerfile Multi-Stage Generator
Visual builder for security-hardened, multi-stage Dockerfiles across modern stacks
Kubernetes YAML Manifest Builder
Visual generator for Deployment, Service, Ingress, and ConfigMap manifests