chore: upgrade db to pgautoupgrade/pgautoupgrade:18-alpine, move volume mount to /var/lib/postgresql (PG18 data-dir layout) #3

Open
autonomic-bot wants to merge 7 commits from upgrade-341922a into main
Showing only changes of commit ba679b3e9c - Show all commits
+1 -2
View File
@@ -14,12 +14,11 @@ services:
secrets: secrets:
- db_password - db_password
db: db:
image: pgautoupgrade/pgautoupgrade:18-alpine image: pgautoupgrade/pgautoupgrade:17-alpine
environment: environment:
- POSTGRES_USER=codimd - POSTGRES_USER=codimd
- POSTGRES_PASSWORD_FILE=/run/secrets/db_password - POSTGRES_PASSWORD_FILE=/run/secrets/db_password
- POSTGRES_DB=codimd - POSTGRES_DB=codimd
- PGDATA=/var/lib/postgresql/data
volumes: volumes:
- "postgres:/var/lib/postgresql/data" - "postgres:/var/lib/postgresql/data"
secrets: secrets: