Add rest of database services to terraform

This commit is contained in:
Tobias Reisinger 2024-09-28 22:43:47 +02:00
parent 1831cddffa
commit d0388ef6d6
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
7 changed files with 80 additions and 21 deletions
roles/shlink/vars

View file

@ -20,9 +20,9 @@ shlink_env:
DB_DRIVER: postgres
DB_HOST: "{{ postgres.host }}"
DB_PORT: "{{ postgres.port }}"
DB_NAME: shlink
DB_USER: "{{ vault_shlink.db.user }}"
DB_PASSWORD: "{{ vault_shlink.db.pass }}"
DB_NAME: "{{ opentofu.postgresql_data.shlink.database }}"
DB_USER: "{{ opentofu.postgresql_data.shlink.user }}"
DB_PASSWORD: "{{ opentofu.postgresql_data.shlink.pass }}"
GEOLITE_LICENSE_KEY: "{{ vault_shlink.geolite_key }}"