29 lines
800 B
Plaintext
29 lines
800 B
Plaintext
[supervisord]
|
|||
|
|
nodaemon=true
|
||
|
|
logfile=/dev/null
|
||
|
|
logfile_maxbytes=0
|
||
|
|
pidfile=/run/supervisord.pid
|
||
|
|
|
||
|
|
# The Go backend, listening on loopback only. It inherits the container
|
||
|
|
# environment (ADDR, DB_PATH, JITSI_*, COOKIE_SECURE, ...), so configuration set
|
||
|
|
# via docker-compose `environment`/`env_file` reaches it unchanged. ADDR and
|
||
|
|
# DB_PATH also have sensible defaults baked into the image (see Dockerfile).
|
||
|
|
[program:backend]
|
||
|
|
command=/app/server
|
||
|
|
directory=/app
|
||
|
|
autorestart=true
|
||
|
|
startsecs=1
|
||
|
|
stdout_logfile=/dev/stdout
|
||
|
|
stdout_logfile_maxbytes=0
|
||
|
|
stderr_logfile=/dev/stderr
|
||
|
|
stderr_logfile_maxbytes=0
|
||
|
|
|
||
|
|
# nginx in the foreground.
|
||
|
|
[program:nginx]
|
||
|
|
command=nginx -g 'daemon off;'
|
||
|
|
autorestart=true
|
||
|
|
startsecs=1
|
||
|
|
stdout_logfile=/dev/stdout
|
||
|
|
stdout_logfile_maxbytes=0
|
||
|
|
stderr_logfile=/dev/stderr
|
||
|
|
stderr_logfile_maxbytes=0
|