Set an explicit username/password for Postgres in the swarm and k8s files too

This commit is contained in:
Peter Valdez
2020-02-19 14:54:19 -05:00
parent 7d1e4a982d
commit e8e002bb23
5 changed files with 19 additions and 1 deletions

View File

@ -18,6 +18,11 @@ spec:
containers:
- image: postgres:9.4
name: postgres
env:
- name: POSTGRES_USER
value: postgres
- name: POSTGRES_PASSWORD
value: postgres
ports:
- containerPort: 5432
name: postgres