-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.example.json
47 lines (47 loc) · 1.46 KB
/
config.example.json
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
{
"development": {
"APP_PORT": 3000,
"FRONT_APP_URL": "example.com",
"DATABASE_URL": "postgresql://postgres:root@authentik_db:5432/nest-auth-dev?schema=public",
"REDIS_HOST": "localhost",
"REDIS_PORT": "6379",
"SALT_ROUNDS": 10,
"TOKEN_TTL_IN_SECONDS": 3600,
"TOKEN_TTL_IN_MS": 3600000,
"ENABLE_MAIL": false,
"MAIL_HOST": "smtp.office365.com",
"MAIL_USER": "user email",
"MAIL_PASSWORD": "user password",
"MAIL_FROM": "noreply@authentication-system.com <email>"
},
"test": {
"APP_PORT": 3000,
"FRONT_APP_URL": "example.com",
"DATABASE_URL": "postgresql://postgres:root@localhost:5432/authentik-test?schema=public",
"REDIS_HOST": "localhost",
"REDIS_PORT": "6379",
"SALT_ROUNDS": 10,
"TOKEN_TTL_IN_SECONDS": 3600,
"TOKEN_TTL_IN_MS": 3600000,
"ENABLE_MAIL": false,
"MAIL_HOST": "smtp.mailtrap.io",
"MAIL_USER": "user",
"MAIL_PASSWORD": "password",
"MAIL_FROM": "noreply@authentik.com"
},
"production": {
"APP_PORT": 3000,
"FRONT_APP_URL": "example.com",
"DATABASE_URL": "postgresql://postgres:root@authentik_db:5432/nest-auth-prod?schema=public",
"REDIS_HOST": "authentik_redis",
"REDIS_PORT": "6379",
"SALT_ROUNDS": 10,
"TOKEN_TTL_IN_SECONDS": 3600,
"TOKEN_TTL_IN_MS": 3600000,
"ENABLE_MAIL": false,
"MAIL_HOST": "smtp.mailtrap.io",
"MAIL_USER": "user",
"MAIL_PASSWORD": "password",
"MAIL_FROM": "noreply@authentik.com"
}
}