Skip to content

Commit

Permalink
Set an explicit username/password for Postgres in the other Compose f…
Browse files Browse the repository at this point in the history
…iles too
  • Loading branch information
Peter Valdez committed Feb 19, 2020
1 parent a8888af commit 7d1e4a9
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docker-compose-javaworker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
3 changes: 3 additions & 0 deletions docker-compose-k8s.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ services:
- "6379:6379"
db:
image: postgres:9.4
environment:
POSTGRES_USER: "postgres"
POSTGRES_PASSWORD: "postgres"
ports:
- "5432:5432"
vote:
Expand Down
3 changes: 3 additions & 0 deletions docker-compose-simple.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ services:

db:
image: postgres:9.4
environment:
POSTGRES_USER: "postgres"
POSTGRES_PASSWORD: "postgres"

result:
build: ./result
Expand Down

0 comments on commit 7d1e4a9

Please sign in to comment.