Set an explicit username/password for Postgres in the other Compose files too

This commit is contained in:
Peter Valdez 2020-02-19 14:44:32 -05:00
parent a8888af480
commit 7d1e4a982d
3 changed files with 9 additions and 0 deletions

View File

@ -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:

View File

@ -7,6 +7,9 @@ services:
- "6379:6379"
db:
image: postgres:9.4
environment:
POSTGRES_USER: "postgres"
POSTGRES_PASSWORD: "postgres"
ports:
- "5432:5432"
vote:

View File

@ -18,6 +18,9 @@ services:
db:
image: postgres:9.4
environment:
POSTGRES_USER: "postgres"
POSTGRES_PASSWORD: "postgres"
result:
build: ./result