mirror of
https://github.com/MikroWizard/docker-compose-deployment.git
synced 2026-01-21 16:49:33 +00:00
Update docker-compose.yml to support new postgres
This commit is contained in:
parent
19dc11edc3
commit
1fcdeb5da0
1 changed files with 1 additions and 4 deletions
|
|
@ -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"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue