[Docker-Compose] [Breaking] Postgres 9.6 is EOL (11th Nov 2021) - Migrate to 14 Stable (#16947)

* Update docker-compose.yml

* Update docker-compose.yml

* Update docker-compose.yml

* Update docker-compose.yml
remotes/1727458204337373841/tmp_refs/heads/signup-info-prompt
Shlee 2021-11-19 08:00:27 +11:00 committed by GitHub
parent c242c1d87a
commit ac8ad78e91
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 2 deletions

View File

@ -3,14 +3,16 @@ services:
db: db:
restart: always restart: always
image: postgres:9.6-alpine image: postgres:14-alpine
shm_size: 256mb shm_size: 256mb
networks: networks:
- internal_network - internal_network
healthcheck: healthcheck:
test: ["CMD", "pg_isready", "-U", "postgres"] test: ["CMD", "pg_isready", "-U", "postgres"]
volumes: volumes:
- ./postgres:/var/lib/postgresql/data - ./postgres14:/var/lib/postgresql/data
environment:
- "POSTGRES_HOST_AUTH_METHOD=trust"
redis: redis:
restart: always restart: always