Drop --no-data-checksums; discourse/postgres:pg18 now disables checksums itself before pg_upgrade and fails if initdb already did

This commit is contained in:
Christian Galo
2026-11-08 00:11:20 -06:00
parent 8210de07a5
commit ea7a45a438
-3
View File
@@ -99,9 +99,6 @@ services:
# `postgres` matches fresh installs and bitnami-origin clusters. Override in
# the app .env (POSTGRES_USER=...) only for a cluster bootstrapped differently.
- POSTGRES_USER=${POSTGRES_USER:-postgres}
# pg18's initdb enables data checksums by default, but pg13-17 clusters here
# have them off and pg_upgrade requires a match -> initialise without them.
- POSTGRES_INITDB_ARGS=--no-data-checksums
healthcheck:
test: "pg_isready -U discourse -d discourse"
interval: 30s