OIDC env variables.

This commit is contained in:
Andrea Dell'Amico 2021-07-12 13:50:59 +02:00
parent c569f4911d
commit 123727acf0
Signed by: andrea.dellamico
GPG Key ID: 147ABE6CEB9E20FF
2 changed files with 20 additions and 2 deletions

View File

@ -30,5 +30,18 @@ open_asfa_pgadmin_email: 'noreply@example.com'
#open_asfa_pgadmin_default_pwd: 'Use a vault'
open_asfa_pgadmin_inactivity_timeout: '1200'
open_asfa_psql_db_data:
- { db_host: '{{ open_asfa_db_host }}', pgsql_version: '{{ open_asfa_db_pg_version }}', name: '{{ open_asfa_db_name }}', encoding: 'UTF8', user: '{{ open_asfa_db_user }}', roles: 'CREATEDB,NOSUPERUSER', pwd: '{{ open_asfa_db_pwd }}', allowed_hosts: '{{ open_asfa_db_allowed_hosts }}' }
open_asfa_keylocak_auth_url: http://localhost:8080/auth/
open_asfa_keycloak_client_secret: 'use a vault'
open_asfa_keycloak_realm: 'realm'
open_asfa_keycloak_client_name: 'asfa_client_name'
open_asfa_keycloak_client_id: 'asfa_client_id'
open_asfa_psql_db_data:
- db_host: '{{ open_asfa_db_host }}'
pgsql_version: '{{ open_asfa_db_pg_version }}'
name: '{{ open_asfa_db_name }}'
encoding: 'UTF8'
user: '{{ open_asfa_db_user }}'
roles: 'CREATEDB,NOSUPERUSER'
pwd: '{{ open_asfa_db_pwd }}'
allowed_hosts: '{{ open_asfa_db_allowed_hosts }}'

View File

@ -23,6 +23,11 @@ services:
SCHEMA: {{ open_asfa_db_name }}
DB_USER: {{ open_asfa_db_user }}
DB_PASSWORD: {{ open_asfa_db_pwd }}
AUTH_URL: {{ open_asfa_keylocak_auth_url }}
SECRET: {{ open_asfa_keycloak_client_secret }}
REALM: {{ open_asfa_keycloak_realm }}
CLIENT: {{ open_asfa_keycloak_client_name }}
CLIENT_ID: {{ open_asfa_keycloak_client_id }}
deploy:
mode: replicated
replicas: 1