-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env.dist
24 lines (18 loc) · 948 Bytes
/
.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
# 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
# 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"