Files
microservicios_python/man/supervisord.conf
dfcarvajal ff51af276d
All checks were successful
Build docker container / Build image (push) Successful in 10m29s
CHANGE: Enable training models
2025-12-21 00:26:15 +01:00

23 lines
1007 B
Plaintext

[supervisord]
logfile=/tmp/supervisord.log ; supervisord log file
logfile_maxbytes=10MB ; maximum size of logfile before rotation
logfile_backups=2 ; number of backed up logfiles
loglevel=error ; info, debug, warn, trace
pidfile=/var/run/supervisord.pid ; pidfile location
nodaemon=true ; run supervisord as a daemon
minfds=1024 ; number of startup file descriptors
minprocs=200 ; number of process descriptors
user=root ; default user
[unix_http_server]
file = /tmp/supervisor.sock ; supervisor unix http server sock file
[program:microservicios]
command=python3 app.py
directory=/app
stdout_logfile=/dev/fd/1
stdout_logfile_maxbytes=0
stderr_logfile=/dev/fd/2
stderr_logfile_maxbytes=0
autostart=true
autorestart=true