-
Notifications
You must be signed in to change notification settings - Fork 2
/
.env.EXAMPLE
58 lines (50 loc) · 1.76 KB
/
.env.EXAMPLE
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
# Database setup
POSTGRES_DB=<database name, default: entirety>
POSTGRES_USER=<database user, default: entirety>
POSTGRES_PASSWORD=<database password, default: postgrespw>
DATABASE_HOST=<database host, default: entirety-db>
DATABASE_PORT=<database port, default: 5432>
# Application Load
ENTITIES_LOAD=True
DEVICES_LOAD=True
NOTIFICATIONS_LOAD=True
# Django
DJANGO_SECRET_KEY=<random passphrase with at minimum 32 characters length>
DJANGO_DEBUG=True #Development only!!
# JS/SCSS compression
COMPRESS_ENABLED=True
# LOGGING
LOKI_ENABLE=False
LOKI_HOST=localhost
LOKI_LEVEL=DEBUG
LOKI_PORT=3100
LOKI_TIMEOUT=0.5
LOKI_PROTOCOL=http
LOKI_SRC_HOST=entirety
LOKI_TIMEZONE=Europe/Berlin
# Authentication
LOCAL_AUTH=True
# Uncomment if using OIDC, i.e. LOCAL_AUTH=False
#LOGIN_URL=/oidc/authenticate
#LOGIN_REDIRECT_URL=/oidc/callback/
#LOGOUT_REDIRECT_URL=/
#OIDC_OP_AUTHORIZATION_ENDPOINT=https://<KeyCloak instance>/auth/realms/<realm name>/protocol/openid-connect/auth
#OIDC_OP_JWKS_ENDPOINT=https://<KeyCloak instance>/auth/realms/<realm name>/protocol/openid-connect/certs
#OIDC_OP_TOKEN_ENDPOINT=https://<KeyCloak instance>/auth/realms/<realm name>/protocol/openid-connect/token
#OIDC_OP_USER_ENDPOINT=https://<KeyCloak instance>/auth/realms/<realm name>/protocol/openid-connect/userinfo
#OIDC_RP_CLIENT_ID=<oidc client id>
#OIDC_RP_CLIENT_SECRET=<oidc client secret>
#OIDC_SUPER_ADMIN_ROLE=super_admin
#OIDC_SERVER_ADMIN_ROLE=server_admin
#OIDC_PROJECT_ADMIN_ROLE=project_admin
#OIDC_USER_ROLE=user
#OIDC_TOKEN_ROLE_FIELD=roles
# FIWARE
CB_URL=<orion context broker url>
IOTA_URL=<iot agent url>
QL_URL=<quantumleap url>
# NGINX
WEB_HOST=<host name or IP, under which the application will be accessible>
# Static files location
STATIC_ROOT=/var/entirety/static/
MEDIA_ROOT=/var/entirety/media/