mirror of
https://github.com/nextcloud/all-in-one.git
synced 2026-05-30 07:20:09 +00:00
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Co-authored-by: szaimen <42591237+szaimen@users.noreply.github.com>
68 lines
1.8 KiB
Plaintext
68 lines
1.8 KiB
Plaintext
# SPDX-FileCopyrightText: 2021 Nextcloud GmbH and Nextcloud contributors
|
|
# SPDX-License-Identifier: AGPL-3.0-or-later
|
|
|
|
[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
|
|
user=root
|
|
|
|
[program:php-fpm]
|
|
# Stdout logging is disabled as otherwise the logs are spammed
|
|
stdout_logfile=%(ENV_SUPERVISORD_STDOUT)s
|
|
stderr_logfile=/dev/stderr
|
|
stderr_logfile_maxbytes=0
|
|
command=php-fpm
|
|
user=root
|
|
|
|
[program:caddy-internal]
|
|
stdout_logfile=/dev/stdout
|
|
stdout_logfile_maxbytes=0
|
|
stderr_logfile=/dev/stderr
|
|
stderr_logfile_maxbytes=0
|
|
command=/usr/bin/caddy run --config /internal.Caddyfile
|
|
user=www-data
|
|
|
|
[program:caddy-acme]
|
|
stdout_logfile=/dev/stdout
|
|
stdout_logfile_maxbytes=0
|
|
stderr_logfile=/dev/stderr
|
|
stderr_logfile_maxbytes=0
|
|
command=/usr/bin/caddy run --config /acme.Caddyfile
|
|
user=www-data
|
|
|
|
[program:cron]
|
|
stdout_logfile=/dev/stdout
|
|
stdout_logfile_maxbytes=0
|
|
stderr_logfile=/dev/stderr
|
|
stderr_logfile_maxbytes=0
|
|
command=/cron.sh
|
|
user=root
|
|
|
|
[program:backup-time-file-watcher]
|
|
stdout_logfile=/dev/stdout
|
|
stdout_logfile_maxbytes=0
|
|
stderr_logfile=/dev/stderr
|
|
stderr_logfile_maxbytes=0
|
|
command=/backup-time-file-watcher.sh
|
|
user=root
|
|
|
|
[program:session-deduplicator]
|
|
stdout_logfile=/dev/stdout
|
|
stdout_logfile_maxbytes=0
|
|
stderr_logfile=/dev/stderr
|
|
stderr_logfile_maxbytes=0
|
|
command=/session-deduplicator.sh
|
|
user=root
|
|
|
|
[program:domain-validator]
|
|
# Logging is disabled as otherwise all attempts will be logged which spams the logs
|
|
stdout_logfile=%(ENV_SUPERVISORD_STDOUT)s
|
|
stderr_logfile=%(ENV_SUPERVISORD_STDOUT)s
|
|
command=php -S 127.0.0.1:9876 /var/www/docker-aio/php/domain-validator.php
|
|
user=www-data
|