Initial Upload
Some checks failed
CI / Lint & Typecheck (push) Has been cancelled
CI / Test (routes) (push) Has been cancelled
CI / Test (security) (push) Has been cancelled
CI / Test (services) (push) Has been cancelled
CI / Test (unit) (push) Has been cancelled
CI / Test (integration) (push) Has been cancelled
CI / Test Coverage (push) Has been cancelled
CI / Build (push) Has been cancelled
Some checks failed
CI / Lint & Typecheck (push) Has been cancelled
CI / Test (routes) (push) Has been cancelled
CI / Test (security) (push) Has been cancelled
CI / Test (services) (push) Has been cancelled
CI / Test (unit) (push) Has been cancelled
CI / Test (integration) (push) Has been cancelled
CI / Test Coverage (push) Has been cancelled
CI / Build (push) Has been cancelled
This commit is contained in:
53
docker/supervisord.conf
Normal file
53
docker/supervisord.conf
Normal file
@@ -0,0 +1,53 @@
|
||||
[supervisord]
|
||||
nodaemon=true
|
||||
user=root
|
||||
logfile=/var/log/supervisor/supervisord.log
|
||||
logfile_maxbytes=10MB
|
||||
logfile_backups=3
|
||||
pidfile=/var/run/supervisord.pid
|
||||
childlogdir=/var/log/supervisor
|
||||
|
||||
[program:postgres]
|
||||
command=/usr/lib/postgresql/15/bin/postgres -D /data/postgres
|
||||
user=postgres
|
||||
autostart=true
|
||||
autorestart=true
|
||||
priority=10
|
||||
stdout_logfile=/var/log/supervisor/postgres.log
|
||||
stdout_logfile_maxbytes=10MB
|
||||
stdout_logfile_backups=2
|
||||
stderr_logfile=/var/log/supervisor/postgres-error.log
|
||||
stderr_logfile_maxbytes=10MB
|
||||
stderr_logfile_backups=2
|
||||
startsecs=10
|
||||
stopwaitsecs=30
|
||||
|
||||
[program:redis]
|
||||
command=/usr/bin/redis-server /etc/redis/redis.conf --dir /data/redis
|
||||
user=redis
|
||||
autostart=true
|
||||
autorestart=true
|
||||
priority=20
|
||||
stdout_logfile=/var/log/supervisor/redis.log
|
||||
stdout_logfile_maxbytes=5MB
|
||||
stdout_logfile_backups=2
|
||||
stderr_logfile=/var/log/supervisor/redis-error.log
|
||||
stderr_logfile_maxbytes=5MB
|
||||
stderr_logfile_backups=2
|
||||
startsecs=5
|
||||
|
||||
[program:tracearr]
|
||||
command=/start-tracearr.sh
|
||||
directory=/app
|
||||
user=tracearr
|
||||
autostart=true
|
||||
autorestart=true
|
||||
priority=30
|
||||
stdout_logfile=/var/log/supervisor/tracearr.log
|
||||
stdout_logfile_maxbytes=50MB
|
||||
stdout_logfile_backups=3
|
||||
stderr_logfile=/var/log/supervisor/tracearr-error.log
|
||||
stderr_logfile_maxbytes=50MB
|
||||
stderr_logfile_backups=3
|
||||
startsecs=10
|
||||
startretries=5
|
||||
Reference in New Issue
Block a user