-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.example
More file actions
55 lines (54 loc) · 1.99 KB
/
.env.example
File metadata and controls
55 lines (54 loc) · 1.99 KB
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
# Docker Settings:
DEV="true"
# ===============
# Django Settings
# For ALLOWED_HOSTS, list your hosts separated by commas
ALLOWED_HOSTS=10.0.2.2,example.com
# For CSRF_TRUSTED_ORIGINS, include the protocol and separate by commas
CSRF_TRUSTED_ORIGINS=https://10.0.2.2,https://example.com
# For CORS_ALLOWED_ORIGINS, include the protocol and separate by commas
CORS_ALLOWED_ORIGINS="http://localhost:3000,http://127.0.0.1:3000"
DEBUG=True
CI=False
SECRET_KEY="super-secret-key"
# ===============
# Backend DB Config
DB_HOST="db"
DB_NAME="devdb"
DB_USER="devuser"
DB_PASS="devpass"
# ===============
# Keycloak config
KEYCLOAK_MASTER_ADMIN="devuser"
KEYCLOAK_MASTER_ADMIN_PASSWORD="devpass"
KEYCLOAK_ADMIN="inethi"
KEYCLOAK_ADMIN_PASSWORD="iNethi2023#"
KEYCLOAK_URL="http://192.168.0.1:8080"
KEYCLOAK_REALM="inethi-services"
KEYCLOAK_BACKEND_CLIENT_ID="inethi-backend-client"
KEYCLOAK_CLIENT_SECRET="<SUPER_SECRET_PRIVATE_KEY>"
KEYCLOAK_FRONTEND_CLIENT_ID="inethi-frontend-client"
# ===============
# Krone config
WALLET_ENCRYPTION_KEY="<SUPER_SECRET_PRIVATE_KEY>" # Fernet key must be 32 url-safe base64-encoded bytes
BLOCKCHAIN_PROVIDER_URL="https://forno.celo.org" # for cello
CONTRACT_ADDRESS="0x8Bab657c88eb3c724486D113E650D2c659aa23d2" # for Krone
REGISTRY_ADDRESS="0x9b1a3F8FadD0dc86FBae5Cf66Fa682fDcd84a9b0" # for Krone
FAUCET_ADDRESS="0xB821E49ADB53F0AbeD834278d5dFc57901c30Eea" # for Krone
ACCOUNT_INDEX_ADMIN_WALLET_ADDRESS="<SMART_CONTRACT_CREATOR>"
FAUCET_ADMIN_WALLET_ADDRESS="<SMART_CONTRACT_CREATOR>"
FAUCET_AND_INDEX_ENABLED="False" # this enables the calls to account index and Faucet in the wallet app
# ===============
# RADIUSdesk config
RADIUS_DESK_USERNAME=<USERNAME>
RADIUS_DESK_PASSWORD=<PASSWORD>
# Celery config
CELERY_BROKER_URL="redis://redis:6379/0"
# ===============
# Traefik Configuration
TRAEFIK_BACKEND_HOST="backend.inethicloud.net"
TRAEFIK_ENTRYPOINTS="websecure"
TRAEFIK_CERTRESOLVER="letsencrypt"
TRAEFIK_NETWORK_BRIDGE="inethi-bridge-traefik"
SUPERUSER_USERNAME=<USERNAME>
SUPERUSER_PASSWORD=<PASSWORD>