mirror of
https://github.com/nextcloud/all-in-one.git
synced 2026-05-30 23:40:08 +00:00
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Co-authored-by: szaimen <42591237+szaimen@users.noreply.github.com>
48 lines
1.4 KiB
Plaintext
48 lines
1.4 KiB
Plaintext
# SPDX-FileCopyrightText: 2021 Nextcloud GmbH <https://nextcloud.com>
|
|
# SPDX-License-Identifier: AGPL-3.0-only
|
|
|
|
[supervisord]
|
|
nodaemon=true
|
|
logfile=/var/log/supervisord/supervisord.log
|
|
pidfile=/var/run/supervisord/supervisord.pid
|
|
childlogdir=/var/log/supervisord/
|
|
logfile_maxbytes=50MB
|
|
logfile_backups=10
|
|
loglevel=%(ENV_AIO_LOG_LEVEL)s
|
|
|
|
[program:nats-server]
|
|
stdout_logfile=/dev/stdout
|
|
stdout_logfile_maxbytes=0
|
|
stderr_logfile=/dev/stderr
|
|
stderr_logfile_maxbytes=0
|
|
command=nats-server -c /etc/nats.conf
|
|
# Start first: signaling depends on NATS being available
|
|
priority=10
|
|
|
|
[program:eturnal]
|
|
stdout_logfile=/dev/stdout
|
|
stdout_logfile_maxbytes=0
|
|
stderr_logfile=/dev/stderr
|
|
stderr_logfile_maxbytes=0
|
|
command=eturnalctl foreground
|
|
# Start alongside Janus; independent of signaling
|
|
priority=20
|
|
|
|
[program:janus]
|
|
stdout_logfile=/dev/stdout
|
|
stdout_logfile_maxbytes=0
|
|
stderr_logfile=/dev/stderr
|
|
stderr_logfile_maxbytes=0
|
|
command=janus --config=/conf/janus.jcfg --disable-colors --log-stdout --full-trickle --debug-level %(ENV_JANUS_LOG_LEVEL)s
|
|
# Start alongside eturnal; signaling connects to Janus via WebSocket
|
|
priority=20
|
|
|
|
[program:signaling]
|
|
stdout_logfile=/dev/stdout
|
|
stdout_logfile_maxbytes=0
|
|
stderr_logfile=/dev/stderr
|
|
stderr_logfile_maxbytes=0
|
|
command=nextcloud-spreed-signaling -config /conf/signaling.conf
|
|
# Start last: depends on NATS (priority=10) and Janus (priority=20) being up
|
|
priority=30
|