-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.env.dist
29 lines (21 loc) · 1.05 KB
/
.env.dist
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
# The URL of the database to connect to.
DATABASE_URL="mysql://dev:dev@localhost:3306/etuutt"
API_PREFIX=/
# The duration before the JWT token expires. It should be a string that can be parsed by the `parseDuration` function from the `parse-duration` package : https://www.npmjs.com/package/parse-duration
# This value means that the token will expire in 15 years, that means that the user will have to log in again after 15 years.
JWT_SECRET=ThisIsAVerySecretKey
# The secret used to sign the JWT tokens. It should be a long random string.
JWT_EXPIRES_IN=15m
# The number of items that we want to display per page in the paginated responses.
PAGINATION_PAGE_SIZE=20
SALT_ROUNDS=10
LDAP_URL=
LDAP_USER=
LDAP_PWD=
ANNAL_UPLOAD_DIR=uploads/exams/
CAS_URL=https://cas.utt.fr/cas
CAS_SERVICE=http://localhost:8080
# The URL of the old database. It is only used to migrate the data from the old database to the new one.
OLD_DATABASE_URL="mysql://dev:dev@localhost:3306/etuutt_old"
ETUUTT_WEBSITE_APPLICATION_ID=52ce644d-183f-49e9-bd21-d2d4f37e2196
TIMETABLE_URL="monedt.utt.fr"