Primera prueba de código de microservicios
Some checks failed
build / build (push) Failing after 0s
test / echo (push) Has been cancelled

This commit is contained in:
2025-12-12 12:59:20 +01:00
commit 85d023acec
7 changed files with 251 additions and 0 deletions

23
man/supervisord.conf Normal file
View File

@@ -0,0 +1,23 @@
[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 flask.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