Update docker-compose.yml to support new postgres

This commit is contained in:
lbhhuj1 2025-12-08 17:20:10 +01:00 committed by GitHub
parent 19dc11edc3
commit 1fcdeb5da0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,6 +1,3 @@
version: '3.9'
services: services:
postgres: postgres:
image: postgres:latest image: postgres:latest
@ -11,7 +8,7 @@ services:
POSTGRES_DB: ${MW_DB_NAME} POSTGRES_DB: ${MW_DB_NAME}
PGUSER: ${MW_DB_USER} PGUSER: ${MW_DB_USER}
volumes: volumes:
- db_data:/var/lib/postgresql/data - db_data:/var/lib/postgresql
- ./init-db.sql:/docker-entrypoint-initdb.d/init.sql - ./init-db.sql:/docker-entrypoint-initdb.d/init.sql
ports: ports:
- "5432:5432" - "5432:5432"