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:
|
||||
image: postgres:9.4
|
||||
container_name: db
|
||||
environment:
|
||||
POSTGRES_USER: "postgres"
|
||||
POSTGRES_PASSWORD: "postgres"
|
||||
volumes:
|
||||
- "db-data:/var/lib/postgresql/data"
|
||||
networks:
|
||||
|
@ -7,6 +7,9 @@ services:
|
||||
- "6379:6379"
|
||||
db:
|
||||
image: postgres:9.4
|
||||
environment:
|
||||
POSTGRES_USER: "postgres"
|
||||
POSTGRES_PASSWORD: "postgres"
|
||||
ports:
|
||||
- "5432:5432"
|
||||
vote:
|
||||
|
@ -18,6 +18,9 @@ services:
|
||||
|
||||
db:
|
||||
image: postgres:9.4
|
||||
environment:
|
||||
POSTGRES_USER: "postgres"
|
||||
POSTGRES_PASSWORD: "postgres"
|
||||
|
||||
result:
|
||||
build: ./result
|
||||
|
Loading…
Reference in New Issue
Block a user