OIDC env vars.

This commit is contained in:
Andrea Dell'Amico 2021-07-12 14:01:16 +02:00
parent 84796e4b94
commit 61212dfc4d
Signed by: andrea.dellamico
GPG Key ID: 147ABE6CEB9E20FF
2 changed files with 19 additions and 1 deletions

View File

@ -32,4 +32,17 @@ open_asfa_pgadmin_email: 'noreply@example.com'
open_asfa_pgadmin_inactivity_timeout: '1200' open_asfa_pgadmin_inactivity_timeout: '1200'
open_asfa_psql_db_data: 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 }}' } - 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'

View File

@ -26,6 +26,11 @@ services:
SCHEMA: {{ open_asfa_db_name }} SCHEMA: {{ open_asfa_db_name }}
DB_USER: {{ open_asfa_db_user }} DB_USER: {{ open_asfa_db_user }}
DB_PASSWORD: {{ open_asfa_db_pwd }} 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: deploy:
mode: replicated mode: replicated
replicas: 1 replicas: 1