Files
mpm/docker/supervisor/supervisord.conf

39 lines
1.0 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

; =============================================================
; MPM – Prozessmanager (Supervisor)
; Verwaltet alle Prozesse innerhalb des Management-Containers:
; - platform-backend : NestJS Management-API (127.0.0.1:3000)
; - nginx : Reverse Proxy (0.0.0.0:8080)
; Ab Phase 3 werden hier die Modul-Prozesse registriert.
; Läuft als unprivilegierter Benutzer "app".
; =============================================================
[supervisord]
nodaemon=true
logfile=/dev/null
logfile_maxbytes=0
pidfile=/tmp/supervisord.pid
childlogdir=/tmp
[program:platform-backend]
command=node dist/main.js
directory=/app/platform-backend
autorestart=true
startretries=10
startsecs=5
stopsignal=TERM
stopwaitsecs=20
stopasgroup=true
killasgroup=true
redirect_stderr=true
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
[program:nginx]
command=/usr/sbin/nginx -g "daemon off;" -c /etc/nginx/nginx.conf
autorestart=true
startretries=5
stopsignal=QUIT
stopwaitsecs=10
redirect_stderr=true
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0