-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.env.sample
39 lines (32 loc) · 1.07 KB
/
.env.sample
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
# node env ('production' or 'development')
NODE_ENV="development"
# general
ENABLED_PROTOCOLS="http,https" # ('http', 'https')
ENABLED_REDIRECT_HTTP_HTTPS="no" # redirect http to https ('yes' or 'no')
INDEX_REDIRECT_TYPE="permanent" # ('temporary' or 'permanent')
INDEX_REDIRECT_URL="https://example.org"
# http
HTTP_PORT="3000"
HTTP_HOSTNAME="127.0.0.1"
# https
HTTPS_PORT="3500"
HTTPS_HOSTNAME="127.0.0.1"
HTTPS_KEY_PATH="/some/where.key"
HTTPS_CERT_PATH="/some/where.crt"
# database
MONGODB_URI="mongodb://localhost:27017/test"
# cors
ENABLED_CORS="no" # cors ('yes' or 'no'), CORS_ORIGIN is required
ENABLED_CORS_ORIGIN_CHECK="no" # is the API public to every client ('yes' or 'no')
CORS_ORIGIN="https://example.org"
## mail sender
MAIL_SMTP_HOST="smtp.example.org"
MAIL_SMTP_PORT="25"
MAIL_SMTP_SECURE="no"
MAIL_SMTP_USERNAME="empty_to_disable_auth"
MAIL_SMTP_PASSWORD="your_smtp_password"
MAIL_SMTP_FROM='"sigma" <[email protected]>'
# sigma configs
SIGMA_AUDIENCE_URL="https://example.org"
SIGMA_SYSTEM_ADMIN_SECRET="your_system_admin_secret"
SIGMA_SYSTEM_ADMIN_IP_ADDRESS="127.0.0.1"