summary refs log tree commit diff
path: root/docker/complement/conf/postgres.supervisord.conf
diff options
context:
space:
mode:
authorRichard van der Hoff <1389908+richvdh@users.noreply.github.com>2022-07-15 11:13:40 +0100
committerGitHub <noreply@github.com>2022-07-15 11:13:40 +0100
commit512486bbeb606ae989fe26d7b39074096a70b32c (patch)
treed3e20f4dadfc3273ebf40032407033f8f81bf276 /docker/complement/conf/postgres.supervisord.conf
parentAsync get event cache prep (#13242) (diff)
downloadsynapse-512486bbeb606ae989fe26d7b39074096a70b32c.tar.xz
Docker: copy postgres from base image (#13279)
When building the docker images for complement testing, copy a preinstalled
complement over from a base image, rather than apt installing it. This avoids
network traffic and is much faster.
Diffstat (limited to 'docker/complement/conf/postgres.supervisord.conf')
-rw-r--r--docker/complement/conf/postgres.supervisord.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/docker/complement/conf/postgres.supervisord.conf b/docker/complement/conf/postgres.supervisord.conf
index 5dae3e6330..b88bfc772e 100644
--- a/docker/complement/conf/postgres.supervisord.conf
+++ b/docker/complement/conf/postgres.supervisord.conf
@@ -1,5 +1,5 @@
 [program:postgres]
-command=/usr/local/bin/prefix-log /usr/bin/pg_ctlcluster 13 main start --foreground
+command=/usr/local/bin/prefix-log gosu postgres postgres
 
 # Only start if START_POSTGRES=1
 autostart=%(ENV_START_POSTGRES)s