forked from intri-in/manage-my-damn-life-nextjs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsample.env.local.docker
104 lines (76 loc) · 3.22 KB
/
sample.env.local.docker
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
101
102
103
104
############################################################
## The following variables NEED to be set before execution.
############################################################
NEXT_PUBLIC_BASE_URL= "http://localhost:3000/"
NEXT_PUBLIC_API_URL="http://localhost:3000/api"
## Database variables.
DB_HOST=db
DB_USER=myuser
MYSQL_USER: myuser
DB_PASS=mypassword_changeme
MYSQL_PASSWORD: mypassword_changeme
#DB_NAME and MYSQL_DATABASE must be the same.
DB_NAME=dbname
MYSQL_DATABASE: sample_install_mmdm
DB_CHARSET="utf8mb4"
DB_COLLATE="utf8mb4_0900_ai_ci"
environment:
############################################################
## The following variables NEED to be set before execution.
############################################################
# This is the user name and password of your mysql user that will be created. These values must be used in DB_USER and DB_PASS variables in the .env file that you will create.
# This defines the root password of mysql in the container. You can use the root user too.
MYSQL_ROOT_PASSWORD: root_changeme
############################################################
## The following variables are advanced settings,
## and must be only changed in case you're trying something
## specific.
############################################################
MYSQL_ALLOW_EMPTY_PASSWORD: ok
MYSQL_ROOT_HOST: '%'
## AES Encryption Password
## This is used to encrypt CalDAV password 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_PORT=25
SMTP_USESECURE=false
############################################################
## 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="true"
## 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
############################################################
## The following variables must not be changed.
############################################################
NEXT_PUBLIC_VERSION_NUMBER="0.1.6"