Add default root password to postgres service definition
This commit is contained in:
parent
094a771c24
commit
c4eaaf5b7a
@ -36,6 +36,8 @@ services:
|
|||||||
|
|
||||||
postgresql:
|
postgresql:
|
||||||
image: postgres:9.6-alpine
|
image: postgres:9.6-alpine
|
||||||
|
environment:
|
||||||
|
- POSTGRES_PASSWORD=root
|
||||||
volumes:
|
volumes:
|
||||||
- ./configuration/postgresql/initdb:/docker-entrypoint-initdb.d
|
- ./configuration/postgresql/initdb:/docker-entrypoint-initdb.d
|
||||||
- postgresqldata:/var/lib/postgresql/data
|
- postgresqldata:/var/lib/postgresql/data
|
||||||
|
@ -27,6 +27,8 @@ services:
|
|||||||
|
|
||||||
postgresql:
|
postgresql:
|
||||||
image: postgres:9.6-alpine
|
image: postgres:9.6-alpine
|
||||||
|
environment:
|
||||||
|
- POSTGRES_PASSWORD=root
|
||||||
volumes:
|
volumes:
|
||||||
- ./configuration/postgresql/initdb:/docker-entrypoint-initdb.d
|
- ./configuration/postgresql/initdb:/docker-entrypoint-initdb.d
|
||||||
- postgresqldata:/var/lib/postgresql/data
|
- postgresqldata:/var/lib/postgresql/data
|
||||||
|
Loading…
Reference in New Issue
Block a user