fix docker permission issues

Signed-off-by: Adrian Gebhart <adrian@pestotoast.de>
This commit is contained in:
Adrian Gebhart 2021-12-01 12:40:51 +01:00
parent 3f672595ea
commit 2371dfd296
No known key found for this signature in database
GPG key ID: 7F19F49F80E3A7BE
3 changed files with 19 additions and 23 deletions

View file

@ -5,26 +5,22 @@ logfile=/var/log/supervisord/supervisord.log
pidfile=/var/run/supervisord/supervisord.pid
childlogdir=/var/log/supervisord/
logfile_maxbytes=50MB
logfile_backups=10
logfile_backups=10
loglevel=error
user=www-data
environment=HOME="/var/www/docker-aio",USER="www-data"
[program:apache]
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
command=apache2-foreground
user=www-data
environment=HOME="/var/www/docker-aio",USER="www-data"
[program:caddy]
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
command=/usr/bin/caddy run -config /Caddyfile
user=www-data
environment=HOME="/var/www/docker-aio",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=www-data
environment=HOME="/var/www/docker-aio",USER="www-data"