Update docker-compose.yml

pull/32747/head
Shlee 2024-11-02 12:15:54 +10:30 committed by GitHub
parent b06fd54c30
commit 9371f89209
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

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