kokoro-tts-3 / supervisord.conf
gabe-vazquez's picture
get everything working in a docker container with nginx
6de1ba4
raw
history blame contribute delete
717 Bytes
[supervisord]
nodaemon=true
user=root
[program:nginx]
command=nginx -g "daemon off;"
autostart=true
autorestart=true
stderr_logfile=/var/log/supervisor/nginx.err.log
stdout_logfile=/var/log/supervisor/nginx.out.log
[program:backend]
directory=/app/backend
command=uvicorn main:app --host 0.0.0.0 --port 8000
autostart=true
autorestart=true
stderr_logfile=/var/log/supervisor/backend.err.log
stdout_logfile=/var/log/supervisor/backend.out.log
[program:frontend]
directory=/app/frontend
command=npm start -- -p 3000
autostart=true
autorestart=true
stderr_logfile=/var/log/supervisor/frontend.err.log
stdout_logfile=/var/log/supervisor/frontend.out.log
environment=PORT=3000,NEXT_PUBLIC_API_URL=http://localhost:7860