diff options
author | Richard van der Hoff <1389908+richvdh@users.noreply.github.com> | 2022-07-15 11:13:40 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-15 11:13:40 +0100 |
commit | 512486bbeb606ae989fe26d7b39074096a70b32c (patch) | |
tree | d3e20f4dadfc3273ebf40032407033f8f81bf276 /docker/complement/conf | |
parent | Async get event cache prep (#13242) (diff) | |
download | synapse-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')
-rw-r--r-- | docker/complement/conf/postgres.supervisord.conf | 2 |
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 |