Skip to content

Commit f5543cd

Browse files
authored
fix: add HOME env var to supervisord managed postgres (#1182)
1 parent a003a6e commit f5543cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docker/all-in-one/etc/supervisor/base-services/postgresql.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ autostart=true
77
startretries=1000
88
priority=1
99
# Inherit env vars from https://github.com/supabase/postgres/blob/develop/Dockerfile#L800
10-
environment=POSTGRES_PASSWORD="%(ENV_POSTGRES_PASSWORD)s",POSTGRES_HOST="%(ENV_POSTGRES_HOST)s"
10+
environment=POSTGRES_PASSWORD="%(ENV_POSTGRES_PASSWORD)s",POSTGRES_HOST="%(ENV_POSTGRES_HOST)s",HOME="/var/lib/postgresql"
1111
stdout_logfile=/var/log/postgresql/init.log
1212
redirect_stderr=true
1313
stdout_logfile_maxbytes=10MB

0 commit comments

Comments
 (0)