mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-20 03:25:17 +01:00
[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
This commit is contained in:
parent
c242c1d87a
commit
ac8ad78e91
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user