This commit is contained in:
hailin 2025-05-15 18:52:49 +08:00
parent 2d65d71673
commit ecd9ac180b
1 changed files with 7 additions and 0 deletions

View File

@ -4,6 +4,13 @@ logfile=/var/log/supervisord.log
loglevel=info
pidfile=/tmp/supervisord.pid
[unix_http_server]
file=/var/run/supervisor.sock
chmod=0700
[supervisorctl]
serverurl=unix:///var/run/supervisor.sock
[program:postgres]
command=/usr/local/bin/docker-entrypoint.sh postgres -D /etc/postgresql
autorestart=true