mirror of
https://github.com/dockersamples/example-voting-app.git
synced 2026-05-21 08:52:50 +00:00
Set an explicit username/password for Postgres in the swarm and k8s files too
This commit is contained in:
@@ -16,6 +16,9 @@ services:
|
||||
condition: on-failure
|
||||
db:
|
||||
image: postgres:9.4
|
||||
environment:
|
||||
POSTGRES_USER: "postgres"
|
||||
POSTGRES_PASSWORD: "postgres"
|
||||
volumes:
|
||||
- db-data:/var/lib/postgresql/data
|
||||
networks:
|
||||
@@ -78,4 +81,4 @@ networks:
|
||||
backend:
|
||||
|
||||
volumes:
|
||||
db-data:
|
||||
db-data:
|
||||
|
||||
Reference in New Issue
Block a user