Set an explicit username/password for Postgres in the other Compose files too
This commit is contained in:
parent
a8888af480
commit
7d1e4a982d
@ -41,6 +41,9 @@ services:
|
|||||||
db:
|
db:
|
||||||
image: postgres:9.4
|
image: postgres:9.4
|
||||||
container_name: db
|
container_name: db
|
||||||
|
environment:
|
||||||
|
POSTGRES_USER: "postgres"
|
||||||
|
POSTGRES_PASSWORD: "postgres"
|
||||||
volumes:
|
volumes:
|
||||||
- "db-data:/var/lib/postgresql/data"
|
- "db-data:/var/lib/postgresql/data"
|
||||||
networks:
|
networks:
|
||||||
|
@ -7,6 +7,9 @@ services:
|
|||||||
- "6379:6379"
|
- "6379:6379"
|
||||||
db:
|
db:
|
||||||
image: postgres:9.4
|
image: postgres:9.4
|
||||||
|
environment:
|
||||||
|
POSTGRES_USER: "postgres"
|
||||||
|
POSTGRES_PASSWORD: "postgres"
|
||||||
ports:
|
ports:
|
||||||
- "5432:5432"
|
- "5432:5432"
|
||||||
vote:
|
vote:
|
||||||
|
@ -18,6 +18,9 @@ services:
|
|||||||
|
|
||||||
db:
|
db:
|
||||||
image: postgres:9.4
|
image: postgres:9.4
|
||||||
|
environment:
|
||||||
|
POSTGRES_USER: "postgres"
|
||||||
|
POSTGRES_PASSWORD: "postgres"
|
||||||
|
|
||||||
result:
|
result:
|
||||||
build: ./result
|
build: ./result
|
||||||
|
Loading…
Reference in New Issue
Block a user