chore: upgrade db to pgautoupgrade/pgautoupgrade:18-alpine, move volume mount to /var/lib/postgresql (PG18 data-dir layout)
cc-ci/testme cc-ci: success
cc-ci/testme cc-ci: success
This commit is contained in:
@@ -14,13 +14,13 @@ services:
|
|||||||
secrets:
|
secrets:
|
||||||
- db_password
|
- db_password
|
||||||
db:
|
db:
|
||||||
image: pgautoupgrade/pgautoupgrade:17-alpine
|
image: pgautoupgrade/pgautoupgrade:18-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
|
||||||
volumes:
|
volumes:
|
||||||
- "postgres:/var/lib/postgresql/data"
|
- "postgres:/var/lib/postgresql"
|
||||||
secrets:
|
secrets:
|
||||||
- db_password
|
- db_password
|
||||||
networks:
|
networks:
|
||||||
|
|||||||
Reference in New Issue
Block a user