Skip to content

Commit

Permalink
[Docker-Compose] [Breaking] Postgres 9.6 is EOL (11th Nov 2021) - Mig…
Browse files Browse the repository at this point in the history
…rate to 14 Stable (mastodon#16947)

* Update docker-compose.yml

* Update docker-compose.yml

* Update docker-compose.yml

* Update docker-compose.yml
  • Loading branch information
shleeable authored Nov 18, 2021
1 parent c242c1d commit ac8ad78
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,16 @@ services:

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

redis:
restart: always
Expand Down

0 comments on commit ac8ad78

Please sign in to comment.