1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/hedgedoc_ynh.git synced 2024-09-03 19:25:52 +02:00
hedgedoc_ynh/conf/env_backend
tituspijean 23819b78d5 Initial work on HedgeDoc v2
- Project split into backend and frontend
- Relevant services and configuration files created

Status:
- can be cleanly installed and removed.
- services start but the frontend gets caught in the SSO somewhere
2021-06-20 23:36:24 +02:00

28 lines
1,005 B
Text

# SPDX-FileCopyrightText: 2021 The HedgeDoc developers (see AUTHORS file)
#
# SPDX-License-Identifier: CC0-1.0
HD_DOMAIN="https://__DOMAIN____PATH__"
PORT=__PORT_BACKEND__
HD_MEDIA_BACKEND="filesystem"
HD_MEDIA_BACKEND_FILESYSTEM_UPLOAD_PATH="uploads/"
HD_DATABASE_NAME="__DB_NAME__"
HD_DATABASE_USER="__DB_NAME__"
HD_DATABASE_PASS="__DB_PWD__"
HD_DATABASE_HOST="localhost"
HD_DATABASE_PORT="5432"
HD_DATABASE_DIALECT="postgres"
HD_AUTH_LDAPS="YUNOHOST"
HD_AUTH_LDAP_YUNOHOST_PROVIDER_NAME="YunoHost"
HD_AUTH_LDAP_YUNOHOST_URL="ldap://127.0.0.1:389"
#HD_AUTH_LDAP_YUNOHOST_BIND_DN=null
#HD_AUTH_LDAP_YUNOHOST_BIND_CREDENTIALS=null
HD_AUTH_LDAP_YUNOHOST_SEARCH_BASE="ou=users,dc=yunohost,dc=org"
HD_AUTH_LDAP_YUNOHOST_SEARCH_FILTER="(&(|(objectclass=posixAccount))(uid={{username}})(permission=cn=__APP__.main,ou=permission,dc=yunohost,dc=org))"
#HD_AUTH_LDAP_YUNOHOST_SEARCH_ATTRIBUTES=
HD_AUTH_LDAP_YUNOHOST_USERNAME_FIELD="cn"
HD_AUTH_LDAP_YUNOHOST_USERID_FIELD="uid"
#HD_AUTH_LDAP_YUNOHOST_TLS_CA=