Compare commits

..

3 Commits

Author SHA1 Message Date
c94186132c fix: pin PGDATA so the postgres 18 bump upgrades in place
All checks were successful
cc-ci/testme cc-ci: success
postgres:18 (tracked by pgautoupgrade) relocated the default PGDATA from
/var/lib/postgresql/data to /var/lib/postgresql/18/docker. Since the db volume
is mounted at the legacy path, pg18 would init a fresh empty cluster there and
orphan all existing data (pgautoupgrade never runs the upgrade). Pinning PGDATA
to the legacy path makes pg18 find the existing cluster and upgrade it in place.
2026-06-08 20:59:36 +00:00
a1771ce371 chore: upgrade to 7.3.0+v1.154.0 2026-06-08 20:59:36 +00:00
d975b81bc3 chore: upgrade to 7.2.0+v1.153.0 2026-06-08 18:20:54 +00:00
2 changed files with 9 additions and 5 deletions

View File

@ -5,7 +5,7 @@ version: "3.8"
services:
mas:
image: ghcr.io/element-hq/matrix-authentication-service:1.14.0
image: ghcr.io/element-hq/matrix-authentication-service:1.18.0
command: ["server", "--config=/etc/mas/config.yaml"]
environment:
- DOMAIN

View File

@ -3,7 +3,7 @@ version: "3.8"
services:
web:
image: nginx:1.29.6
image: nginx:1.31.1
networks:
- proxy
- internal
@ -43,7 +43,7 @@ services:
start_period: 2m
app:
image: "matrixdotorg/synapse:v1.149.1"
image: "matrixdotorg/synapse:v1.154.0"
volumes:
- "data:/data"
secrets:
@ -114,7 +114,7 @@ services:
restart_policy:
condition: on-failure
labels:
- "coop-cloud.${STACK_NAME}.version=7.1.1+v1.149.1"
- "coop-cloud.${STACK_NAME}.version=7.3.0+v1.154.0"
- "coop-cloud.${STACK_NAME}.timeout=${TIMEOUT}"
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8008/health"]
@ -124,10 +124,14 @@ services:
start_period: 1m
db:
image: pgautoupgrade/pgautoupgrade:17-alpine
image: pgautoupgrade/pgautoupgrade:18-alpine
secrets:
- db_password
environment:
# postgres:18 relocated the default PGDATA to /var/lib/postgresql/18/docker.
# Pin it to the legacy path so pgautoupgrade finds the existing cluster on the
# mounted volume and upgrades it in place, instead of init'ing an empty one.
- PGDATA=/var/lib/postgresql/data
- LC_COLLATE=C
- LC_CTYPE=C
- POSTGRES_DB=synapse