-
Notifications
You must be signed in to change notification settings - Fork 8
/
sample.env.local
101 lines (72 loc) · 3.12 KB
/
sample.env.local
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
############################################################
## The following variables NEED to be set before execution.
############################################################
## Database variables.
DB_HOST=db
DB_USER=myuser
DB_PASS=mypassword
DB_PORT="3306"
DB_NAME=sample_install_mmdm
DB_CHARSET="utf8mb4"
DB_COLLATE="utf8mb4_0900_ai_ci"
## AES Encryption Password
## This is used to encrypt CalDAV passwords in the database.
AES_PASSWORD=PASSWORD
############################################################
## The following variables aren't required for basic functionality,
## but might be required to be set for some additional features.
############################################################
## SMTP Settings
SMTP_HOST=host
SMTP_USERNAME=username
SMTP_PASSWORD=password
SMTP_FROMEMAIL=test@example.com
SMTP_PORT=25
SMTP_USESECURE=false
## Enable NextAuth.js for third party authentication. It's highly recommended that you use a third party authentication service. Please note that third party authentication will eventually become the default option in the future versions of MMDL (probably by v1.0.0).
# The following variable's name has changed in v0.4.1
USE_NEXT_AUTH=false
# This is a variable used by NextAuth.js. This must be same as NEXT_PUBLIC_BASE_URL.
NEXTAUTH_URL="http://localhost:3000/"
# This is a variable used by NextAuth.js. Must be generated.
# https://next-auth.js.org/configuration/options#nextauth_secret
NEXTAUTH_SECRET="REALLY_SUPER_STRONG_SECRET_KEY"
## Refer to docs for guide to set following variables. Ignore if NEXT_PUBLIC_USE_NEXT_AUTH is set to false. Uncomment as required.
# KEYCLOAK_ISSUER_URL="http://localhost:8080/realms/MMDL"
# KEYCLOAK_CLIENT_ID="mmdl-front-end"
# KEYCLOAK_CLIENT_SECRET="SAMPLE_CLIENT_SECRET"
# GOOGLE_CLIENT_ID=""
# GOOGLE_CLIENT_SECRET=""
# AUTHENTIK_CLIENT_ID=""
# AUTHENTIK_CLIENT_SECRET=""
# AUTHENTIK_ISSUER=""
############################################################
## The following variables aren't required to be set,
## but affect behaviour that you might want to customise.
############################################################
# User Config
NEXT_PUBLIC_DISABLE_USER_REGISTRATION=false
# After this value, old ssid will be deleted.
MAX_CONCURRENT_LOGINS_ALLOWED=3
# Maxium length of OTP validity, in seconds.
MAX_OTP_VALIDITY=1800
# Maximum length of a login session in seconds.
MAX_SESSION_LENGTH=2592000
# Enforce max length of session.
ENFORCE_SESSION_TIMEOUT=true
############################################################
## The following variables are advanced settings,
## and must be only changed in case you're trying something
## specific.
############################################################
#Whether user is running install from a docker image.
DOCKER_INSTALL="false"
## General Config
NEXT_PUBLIC_API_URL="http://localhost:3000/api"
## Debug Mode
NEXT_PUBLIC_DEBUG_MODE=true
#Max number of recursions for finding subtasks. Included so the recursive function doesn't go haywire.
#If subtasks are not being rendered properly, try increasing the value.
NEXT_PUBLIC_SUBTASK_RECURSION_CONTROL_VAR=100
## Test Mode
NEXT_PUBLIC_TEST_MODE=false