mirror of
https://github.com/MikroWizard/docker-compose-deployment.git
synced 2026-01-21 08:39:34 +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:
|
||||
postgres:
|
||||
image: postgres:latest
|
||||
|
|
@ -11,7 +8,7 @@ services:
|
|||
POSTGRES_DB: ${MW_DB_NAME}
|
||||
PGUSER: ${MW_DB_USER}
|
||||
volumes:
|
||||
- db_data:/var/lib/postgresql/data
|
||||
- db_data:/var/lib/postgresql
|
||||
- ./init-db.sql:/docker-entrypoint-initdb.d/init.sql
|
||||
ports:
|
||||
- "5432:5432"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue