Badges: use the FQDNs for the DB hostnames

Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
Aurélien Bompard 2025-07-01 09:01:10 +02:00
parent e9ca033354
commit 748b4b0116
No known key found for this signature in database
GPG key ID: 31584CFEB9BF64AD
2 changed files with 2 additions and 2 deletions

View file

@ -61,7 +61,7 @@ database_uri = "postgresql://{{ tahrirDBUser }}:{{ (env == 'production')|ternary
email_domain = "{{ env_prefix }}fedoraproject.org"
# Datanommer database URI
datanommer_db_uri = "postgresql://{{ tahrirDBUser }}:{{ (env == 'production')|ternary(tahrirDBPassword, tahrirstgDBPassword) }}@{{ datanommer_db_hostname }}{{ env_suffix }}/datanommer2"
datanommer_db_uri = "postgresql://{{ tahrirDBUser }}:{{ (env == 'production')|ternary(tahrirDBPassword, tahrirstgDBPassword) }}@{{ datanommer_db_hostname }}{{ env_suffix }}.{{ datacenter }}.fedoraproject.org/datanommer2"
datagrepper_url = "https://apps{{ env_suffix }}.fedoraproject.org/datagrepper"
distgit_hostname = "src{{ env_suffix }}.fedoraproject.org"
id_provider_hostname = "id{{ env_suffix }}.fedoraproject.org"

View file

@ -1,5 +1,5 @@
---
badges_db_host: "db01{{ env_suffix }}"
badges_db_host: "db01{{ env_suffix }}.{{ datacenter }}.fedoraproject.org"
badges_db_name: "tahrir"
badges_award_cronjobs:
- name: group-membership