mentorenwahl/.example.env

56 lines
1.7 KiB
Bash
Raw Normal View History

# Mentorenwahl: A fullstack application for assigning mentors to students based on their whishes.
# Copyright (C) 2022 Dominic Grimm
2022-03-07 13:06:02 +00:00
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
2022-03-07 13:06:02 +00:00
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
2022-03-07 13:06:02 +00:00
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
2022-02-03 16:28:32 +00:00
# General
URL=
# Db
2022-01-15 12:05:15 +00:00
POSTGRES_USER="mw"
2022-01-28 17:30:20 +00:00
POSTGRES_PASSWORD=
2022-01-08 12:29:22 +00:00
2023-01-29 10:49:13 +00:00
# Auth
AUTH_UNTIS_URL="https://mese.webuntis.com/WebUntis/"
AUTH_UNTIS_CLIENT_NAME="mentorenwahl"
AUTH_UNTIS_SCHOOL=
AUTH_UNTIS_USERNAME=
AUTH_UNTIS_PASSWORD=
2022-02-03 16:28:32 +00:00
# Backend
2022-04-14 14:44:49 +00:00
BACKEND_MINIMUM_TEACHER_SELECTION_COUNT=6
2022-12-17 11:27:31 +00:00
BACKEND_ASSIGNMENT_POSSIBILITY_COUNT=65536
2022-02-03 16:28:32 +00:00
BACKEND_URL=URL
# Backend - API
2022-02-06 20:12:38 +00:00
BACKEND_API_JWT_SECRET=
BACKEND_API_JWT_EXPIRATION=360
2022-02-03 16:28:32 +00:00
# Backend - Worker
# Backend - SMTP
2022-01-28 17:30:20 +00:00
BACKEND_SMTP_HELO=
BACKEND_SMTP_HOST=
2022-02-23 16:58:12 +00:00
BACKEND_SMTP_PORT=587
2022-01-28 17:30:20 +00:00
BACKEND_SMTP_NAME=
BACKEND_SMTP_USERNAME=
BACKEND_SMTP_PASSWORD=
2022-02-03 16:28:32 +00:00
# Backend - Db
BACKEND_DB_ALLOW_OLD_SCHEMA=false
# Backend - LDAP
2022-02-23 16:58:12 +00:00
BACKEND_LDAP_HOST="ldap.example.com"
BACKEND_LDAP_PORT=389
BACKEND_LDAP_BASE_DN="dc=ldap,dc=example,dc=com"
BACKEND_LDAP_BASE_USER_DN="ou=users,dc=ldap,dc=example,dc=com"
BACKEND_LDAP_BIND_DN="cn=admin,dc=ldap,dc=example,dc=com"
BACKEND_LDAP_BIND_PASSWORD=
BACKEND_LDAP_CACHE_REFRESH_INTERVAL=720