forked from secret-tech/backend-ico-dashboard
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env.stage
112 lines (84 loc) · 2.84 KB
/
.env.stage
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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
# App
# COMPANY_NAME is used in emails subjects, kyc providers, errors and during enable 2fa verification
# COMPANY_NAME="secret_tech"
ENVIRONMENT=stage # test, stage, production
TOKEN_PRICE_USD=1.0
API_URL="https://demo-api.icodashboard.space"
FRONTEND_URL="https://demo.icodashboard.space"
ICO_END_TIMESTAMP=1517443200
HTTP_SERVER=disabled
# PORT=3000
HTTPS_SERVER=enabled
# HTTPS_PORT=4000
# FORCE_HTTPS=disabled
# CLIENT_IP_FORWARD_HEADER="x-forwarded-for"
# ORM
ORM_ENTITIES_DIR="dist/entities/**/*.js"
ORM_SUBSCRIBER_DIR="dist/subscriber/**/*.js"
ORM_MIGRATIONS_DIR="dist/migrations/**/*.js"
# DB
MONGO_URL="mongodb://mongo:27017/ico-dashboard"
# REDIS_URL="redis://redis:6379"
# REDIS_PREFIX="icodashboard_space_"
# Auth and verify services
AUTH_JWT="eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6ImQzM2RiMDlhLTVhMjUtNDljOC05NzI1LTQ4MjQ0OGNhZTBhYyIsImxvZ2luIjoidGVuYW50OnRlc3RAdGVzdC5jb20iLCJqdGkiOiJkMzNkYjA5YS01YTI1LTQ5YzgtOTcyNS00ODI0NDhjYWUwYWMxNTIwMzY1OTQ4NDgzIiwiaWF0IjoxNTIwMzY1OTQ4NDgzLCJhdWQiOiJqaW5jb3IuY29tIiwiaXNUZW5hbnQiOnRydWV9.ic0b20tTygzL3pUsmhl70OkIlhv18rtCLAewVVVXB70"
AUTH_BASE_URL="http://auth:3000"
VERIFY_BASE_URL="http://verify:3000"
# Smart-contracts
SC_ABI_FOLDER="contracts/default"
ICO_SC_ADDRESS="0x7672210729e053B2462D39CF3746A5d19B405aAD"
ICO_OLD_SC_ADRESSES=""
WHITELIST_SC_ADDRESS="0x3c97c521cc60e3c6bb8b568d36d7d2f7fa2435fb"
TOKEN_ADDRESS="0x1a164bd1a4bd6f26726dba43972a91b20e7d93be"
WL_OWNER_PK=""
# Test fund
TEST_FUND_PK=""
# RPC setting
RPC_TYPE="ws"
RPC_ADDRESS="ws://rpc:8546"
WEB3_RESTORE_START_BLOCK=2015593
WEB3_BLOCK_OFFSET=200
# DEFAULT_INVEST_GAS=130000
# PURCHASE_GAS_LIMIT=100000
# Throttler settings
# THROTTLER_WHITE_LIST=""
# THROTTLER_INTERVAL=1000
# THROTTLER_MAX=5
# THROTTLER_MIN_DIFF=0
# Coinpayments settings
# COINPAYMENTS_API_KEY="api_key"
# COINPAYMENTS_API_SECRET="api_secret"
# COINPAYMENTS_API_CURRENCY1="ETH"
# COINPAYMENTS_API_MERCHANT_ID="api_merchant_id"
# COINPAYMENTS_API_MERCHANT_SECRET="api_merchant_secret"
# Email
# EMAIL_TEMPLATE_FOLDER="default"
# EMAIL_FROM="[email protected]"
# EMAIL_REFERRAL="[email protected]"
# Mailgun provider
# MAILGUN_DOMAIN="icodashboard.space"
# MAILGUN_API_KEY="key-0123456789"
# mailjet provider
# MAILJET_API_KEY=""
# MAILJET_API_SECRET=""
# KYC settings
KYC_STATUS_DEFAULT="not_verified"
KYC_ENABLED=true
KYC_PROVIDER="JUMIO"
# Jumio provider
KYC_JUMIO_BASE_URL="http://kyc.example.com"
KYC_JUMIO_TOKEN="api_token"
KYC_JUMIO_SECRET="api_secret"
# KYC_JUMIO_TOKEN_LIFETIME=5184000
# Shufti Pro provider
KYC_SHUFTIPRO_CLIENT_ID="CLIENTID"
KYC_SHUFTIPRO_SECRET_KEY="SECRETKEY"
KYC_SHUFTIPRO_REDIRECT_URL="http://localhost"
KYC_SHUFTIPRO_CALLBACK_URL="http://localhost"
KYC_SHUFTIPRO_ALLOW_RECREATE_SESSION=false
KYC_SHUFTIPRO_DEFAULT_PHONE="+440000000000"
# Logging
ACCESS_LOG=true
# LOGGING_LEVEL="warn"
# LOGGING_FORMAT="text"
# LOGGING_COLORIZE=false