mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 15:06:26 +02:00
Added LDAP Draft for Funkwhale
This commit is contained in:
@@ -99,19 +99,21 @@ DJANGO_SETTINGS_MODULE=config.settings.production
|
||||
# Generate one using `openssl rand -base64 45`, for example
|
||||
DJANGO_SECRET_KEY={{funkwhale_django_secret}}
|
||||
|
||||
{% if ldap_enabled | bool %}
|
||||
# LDAP settings
|
||||
# Use the following options to allow authentication on your Funkwhale instance
|
||||
# using a LDAP directory.
|
||||
# Have a look at https://docs.funkwhale.audio/installation/ldap.html for
|
||||
# detailed instructions.
|
||||
|
||||
# LDAP_ENABLED=False
|
||||
# LDAP_SERVER_URI=ldap://your.server:389
|
||||
# LDAP_BIND_DN=cn=admin,dc=domain,dc=com
|
||||
# LDAP_BIND_PASSWORD=bindpassword
|
||||
# LDAP_SEARCH_FILTER=(|(cn={0})(mail={0}))
|
||||
# LDAP_START_TLS=False
|
||||
# LDAP_ROOT_DN=dc=domain,dc=com
|
||||
LDAP_ENABLED=True
|
||||
LDAP_SERVER_URI={{ldap.server.uri}}
|
||||
LDAP_BIND_DN={{ldap.dn.administrator}}
|
||||
LDAP_BIND_PASSWORD={{applications.ldap.administrator_database_password}}
|
||||
LDAP_SEARCH_FILTER=(|(cn={0})(mail={0})) # Needs to checked
|
||||
LDAP_START_TLS=False
|
||||
LDAP_ROOT_DN={{ldap.dn.root}}
|
||||
{% endif %}
|
||||
|
||||
FUNKWHALE_FRONTEND_PATH=/srv/funkwhale/front/dist
|
||||
|
||||
|
Reference in New Issue
Block a user