db password stops working with secret

This commit is contained in:
2025-11-02 14:36:44 -05:00
parent 3e4cf66594
commit d863bdbe81
2 changed files with 17 additions and 10 deletions

View File

@ -59,13 +59,14 @@ x-postgres-env: &postgres-env
POSTGRES_DB: docs
POSTGRES_USER: docs
# FIXME: Move to docker secret
POSTGRES_PASSWORD: password
XX_POSTGRES_PASSWORD: password
POSTGRES_PASSWORD_FILE: /run/secrets/postgres_password
# App database configuration
DB_HOST: db
DB_NAME: docs
DB_USER: docs
# FIXME: Move to docker secret
DB_PASSWORD: password
XX_DB_PASSWORD: password
DB_PORT: 5432
x-yprovider-env: &yprovider-env
@ -201,6 +202,13 @@ services:
- source: abra_entrypoint
target: /abra-entrypoint.sh
mode: 0555
secrets:
- django_secret_key
- oidc_rp_client_secret
- django_superuser_password
- collaboration_server_secret
- minio_root_password
- postgres_password
redis:
image: redis:8