-
Notifications
You must be signed in to change notification settings - Fork 0
/
default.env
67 lines (53 loc) · 1.61 KB
/
default.env
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
# Server info
DOMAIN=omega.ntnu.no
SERVER_LINK_PREFIX=http://localhost:80
# API Keys
# Feide
FEIDE_CLIENT_ID=<INSERT>
FEIDE_CLIENT_SECRET=<INSERT>
# Database
DB_NAME=devdb
DB_USERNAME=user
DB_PASSWORD=password
DB_URI="postgresql://${DB_USERNAME}:${DB_PASSWORD}@db:5432/${DB_NAME}"
# For dobbelOmega
VEVEN_DB_URI="postgresql://vevendrukneridobbelomega@kielderen:1919/veven"
VEVEN_STORE_URL="https://omega.ntnu.no/store"
MIGRATE_FROM_VEVEN=false
MIGRATION_WITH_LIMITS=true
# Logging
LOG_LEVEL=debug
LOG_TO_CONSOLE=true
LOG_TO_FOLDER=true
LOG_MAX_FILES=365
# NextAuth
NEXTAUTH_URL="http://localhost:80"
NEXTAUTH_SECRET=cake_is_love_cake_is_life
# Password Hashing and Encryption
PASSWORD_SALT_ROUNDS="12"
PASSWORD_ENCRYPTION_KEY="AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" # Must be 256 bits (43 characters) long
# API Key Hashing and Encryption
API_KEY_SALT_ROUNDS="12"
API_KEY_ENCRYPTION_KEY="AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" # Must be 256 bits (43 characters) long
# Next js
NEXT_TELEMETRY_DISABLED=1
# Mailer
MAIL_SERVER=smtp.ethereal.email
# Omega ID (This is a ES256 key)
JWT_PRIVATE_KEY="
-----BEGIN EC PRIVATE KEY-----
MHcCAQEEIN6vFVzYL4rGYjDMN8zAw/Oxv6R0sSCNwFRMdm9HWb0KoAoGCCqGSM49
AwEHoUQDQgAEWdq06x/lHeIfiuvyJ8z7W+xpAWvTum/xyw/nKFJcqqMJ71Xq3SY+
nA7I0ui4R4W6usx9He6kb5EKlzc9EdVq0w==
-----END EC PRIVATE KEY-----
"
JWT_PUBLIC_KEY="
-----BEGIN PUBLIC KEY-----
MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEWdq06x/lHeIfiuvyJ8z7W+xpAWvT
um/xyw/nKFJcqqMJ71Xq3SY+nA7I0ui4R4W6usx9He6kb5EKlzc9EdVq0w==
-----END PUBLIC KEY-----
"
JWT_SECRET="hs_maa_gaa"
# Postfix
MAIL_DOMAIN=sanctus.omega.ntnu.no
MAIL_RELAY_HOST=mailgw.ntnu.no