1
0
Fork 0
forked from infra/ansible

FMN: add the Distgit DB credentials

Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
Aurélien Bompard 2025-07-21 12:53:55 +02:00
commit ca69e3a82d
Signed by untrusted user: abompard
GPG key ID: 31584CFEB9BF64AD

View file

@ -11,6 +11,7 @@ OIDC_CLIENT_ID="fmn"
# OIDC_CLIENT_SECRET is set in the environement by the deploymentconfig
SERVICES__FASJSON_URL=https://fasjson{{ env_suffix }}.fedoraproject.org
SERVICES__DISTGIT_URL=https://src{{ env_suffix }}.fedoraproject.org
SERVICES__DISTGIT_DB_URL="postgresql+asyncpg://pagure_ro:{{ (env == 'production')|ternary(distgit_pagure_db_ro_pass, distgit_stg_pagure_db_ro_pass) }}@db01{{ env_suffix }}.{{ datacenter }}.fedoraproject.org/pagure"
# Cache settings
CACHE__URL="redis://redis.fmn.svc.cluster.local/?digestmod=sha1&socket_connect_timeout=5&socket_keepalive=True"