This commit is contained in:
hailin 2025-05-16 00:23:29 +08:00
parent e70d25a81f
commit b81de06882
1 changed files with 2 additions and 1 deletions

View File

@ -12,7 +12,8 @@ chmod=0700
serverurl=unix:///var/run/supervisor.sock
[program:postgres]
command=/usr/local/bin/docker-entrypoint.sh postgres -D /etc/postgresql
command=/usr/local/bin/docker-entrypoint.sh postgres -D /var/lib/postgresql/data
user=postgres
autorestart=true
stdout_logfile=/var/log/postgres.out.log
stderr_logfile=/var/log/postgres.err.log