forked from kompetenzinventar/ki-ansible
add ldap variables
This commit is contained in:
parent
dd2e11392b
commit
84ac2a7462
@ -21,3 +21,8 @@ SPDX-License-Identifier: AGPL-3.0-or-later
|
|||||||
| `ki_db_image` | Datenbank-Image | `mariadb:10.6.3` |
|
| `ki_db_image` | Datenbank-Image | `mariadb:10.6.3` |
|
||||||
| `ki_db_root_password` | KI DB Root Passwort | - |
|
| `ki_db_root_password` | KI DB Root Passwort | - |
|
||||||
| `ki_db_password` | KI DB Anwendungspasswort | - |
|
| `ki_db_password` | KI DB Anwendungspasswort | - |
|
||||||
|
| `ki_auth` | Authentifizierungsmethode [`file`](https://git.wtf-eg.de/kompetenzinventar/ki-backend/src/branch/main/data/auth.yml) oder `ldap` | `file` |
|
||||||
|
| `ki_ldap_url` | LDAP Server URL | `ldaps://idp01.wtf-eg.net:636` |
|
||||||
|
| `ki_ldap_auth_user` | LDAP Login Benutzer | - |
|
||||||
|
| `ki_ldap_auth_password` | LDAP Login Passwort | - |
|
||||||
|
| `ki_ldap_base_dn` | Basis DN | `ou=people,dc=wtf-eg,dc=de` |
|
||||||
|
@ -6,3 +6,8 @@ ki_backend_image: registry.wtf-eg.net/ki-backend:latest
|
|||||||
ki_backend_uri: https://ki-wtf-eg.de/api
|
ki_backend_uri: https://ki-wtf-eg.de/api
|
||||||
ki_backend_port: 13338
|
ki_backend_port: 13338
|
||||||
ki_db_image: mariadb:10.6.3
|
ki_db_image: mariadb:10.6.3
|
||||||
|
ki_auth: file
|
||||||
|
ki_ldap_url: ldaps://idp01.wtf-eg.net:636
|
||||||
|
ki_ldap_auth_user: ""
|
||||||
|
ki_ldap_auth_password: ""
|
||||||
|
ki_ldap_base_dn: ou=people,dc=wtf-eg,dc=de
|
||||||
|
@ -19,7 +19,11 @@ services:
|
|||||||
SQLALCHEMY_DATABASE_URI: "mariadb+pymysql://ki:{{ ki_db_password }}@ki_db:3306/ki"
|
SQLALCHEMY_DATABASE_URI: "mariadb+pymysql://ki:{{ ki_db_password }}@ki_db:3306/ki"
|
||||||
FLASK_ENV: "development"
|
FLASK_ENV: "development"
|
||||||
KI_LOGLEVEL: "10"
|
KI_LOGLEVEL: "10"
|
||||||
KI_AUTH: "file"
|
KI_AUTH: "ldap"
|
||||||
|
KI_LDAP_URL: "{{ ki_ldap_url }}"
|
||||||
|
KI_LDAP_AUTH_USER: "{{ ki_ldap_auth_user }}"
|
||||||
|
KI_LDAP_AUTH_PASSWORD: "{{ ki_ldap_auth_password }}"
|
||||||
|
KI_LDAP_BASE_DN: "{{ ki_ldap_base_dn }}"
|
||||||
CORS_ORIGINS: "{{ ki_frontend_uri }}"
|
CORS_ORIGINS: "{{ ki_frontend_uri }}"
|
||||||
volumes:
|
volumes:
|
||||||
- ki_data:/app/data/
|
- ki_data:/app/data/
|
||||||
|
Loading…
Reference in New Issue
Block a user