mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-07-19 15:04:23 +02:00
23 lines
1.3 KiB
YAML
23 lines
1.3 KiB
YAML
application_id: "web-app-gitea"
|
|
database_type: "mariadb"
|
|
gitea_ldap_auth_args:
|
|
- '--name "LDAP ({{ primary_domain }})"'
|
|
- '--host "{{ ldap.server.domain }}"'
|
|
- '--port {{ ldap.server.port }}'
|
|
- '--security-protocol "{{ ldap.server.security | trim or "unencrypted" }}"'
|
|
- '--bind-dn "{{ ldap.dn.administrator.data }}"'
|
|
- '--bind-password "{{ ldap.bind_credential }}"'
|
|
- '--user-search-base "{{ ldap.dn.ou.users }}"'
|
|
- '--user-filter "(&(objectClass=inetOrgPerson)(uid=%s))"'
|
|
- '--username-attribute "{{ ldap.user.attributes.id }}"'
|
|
- '--firstname-attribute "{{ ldap.user.attributes.firstname }}"'
|
|
- '--surname-attribute "{{ ldap.user.attributes.surname }}"'
|
|
- '--email-attribute "{{ ldap.user.attributes.mail }}"'
|
|
- '--public-ssh-key-attribute "{{ ldap.user.attributes.ssh_public_key }}"'
|
|
- '--synchronize-users'
|
|
gitea_version: "{{ applications | get_app_conf(application_id, 'docker.services.gitea.version', True) }}"
|
|
gitea_image: "{{ applications | get_app_conf(application_id, 'docker.services.gitea.image', True) }}"
|
|
gitea_name: "{{ applications | get_app_conf(application_id, 'docker.services.gitea.name', True) }}"
|
|
gitea_volume: "{{ applications | get_app_conf(application_id, 'docker.volumes.data', True) }}"
|
|
|
|
container_port: "{{ applications | get_app_conf(application_id, 'docker.services.gitea.port', True) }}" |