From b81de06882f10f519232a791fc505a0b3c62b4bd Mon Sep 17 00:00:00 2001 From: hailin Date: Fri, 16 May 2025 00:23:29 +0800 Subject: [PATCH] . --- supervisord.conf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/supervisord.conf b/supervisord.conf index d82f784..88dfaff 100644 --- a/supervisord.conf +++ b/supervisord.conf @@ -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