1
0

Revert "Revert "Upgrade postgres""

This reverts commit d321c09ba0.
This commit is contained in:
nicolas.dorier
2021-09-30 20:50:37 +09:00
parent d321c09ba0
commit 9e534b4324
2 changed files with 54 additions and 1 deletions

View File

@@ -3,11 +3,14 @@ version: "3"
services:
postgres:
restart: unless-stopped
image: postgres:9.6.20
image: postgres:13.4
entrypoint: ./migrate-docker-entrypoint.sh
command: postgres
environment:
POSTGRES_HOST_AUTH_METHOD: trust
volumes:
- "postgres_datadir:/var/lib/postgresql/data"
- "./postgres/migrate-docker-entrypoint.sh:/migrate-docker-entrypoint.sh:ro"
volumes:
postgres_datadir: