Wire up db_password
This commit is contained in:
parent
57cdd8e23f
commit
899a5b3b82
@ -10,10 +10,13 @@ services:
|
|||||||
test: ["CMD", "pg_isready", "-U", "postgres"]
|
test: ["CMD", "pg_isready", "-U", "postgres"]
|
||||||
volumes:
|
volumes:
|
||||||
- postgres:/var/lib/postgresql/data
|
- postgres:/var/lib/postgresql/data
|
||||||
|
secrets:
|
||||||
|
- db_password
|
||||||
environment:
|
environment:
|
||||||
- POSTGRES_PASSWORD=${DB_PASS}
|
|
||||||
- POSTGRES_USER=${DB_USER}
|
|
||||||
- POSTGRES_DB=${DB_NAME}
|
- POSTGRES_DB=${DB_NAME}
|
||||||
|
- POSTGRES_PASSWORD=${DB_PASS}
|
||||||
|
- POSTGRES_PASSWORD_FILE=/run/secrets/db_password
|
||||||
|
- POSTGRES_USER=${DB_USER}
|
||||||
|
|
||||||
redis:
|
redis:
|
||||||
image: redis:6.0-alpine
|
image: redis:6.0-alpine
|
||||||
|
Loading…
Reference in New Issue
Block a user