diff --git a/compose.yml b/compose.yml index 80907ca..245cb63 100644 --- a/compose.yml +++ b/compose.yml @@ -78,6 +78,9 @@ services: target: /pg_backup.sh mode: 0555 entrypoint: /usr/local/bin/cc-db-entrypoint.sh + # overriding entrypoint drops the image's default CMD, so restore it; the + # wrapper passes "$@" through and pgautoupgrade keys its logic on $1=postgres + command: postgres environment: - POSTGRES_HOST_AUTH_METHOD=trust - POSTGRES_USER=discourse