Update docker-compose.yml

This commit is contained in:
Shlee 2025-09-26 11:47:32 +00:00 committed by GitHub
parent c266bab9ea
commit bfd2d5c621
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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