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