-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy path.env.dev
87 lines (74 loc) · 2.65 KB
/
.env.dev
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
# NESTJS CONFIG
NESTJS_PORT=3000
# DB CONFIG
DB_HOST=127.0.0.1
DB_PORT=5432
DB_USERNAME=postgres
DB_PASSWORD=password
DB_NAME=dev-test
TYPEORM_LOGGING=error,migration,warn,info
# REDIS
REDIS_VERSION=6.0.8
#REDIS_PASSWORD=password
REDIS_PORT=6379
REDIS_HOST=127.0.0.1
# NATS.IO CONFIG
NATS_VERSION=2.1.8
NATS_CLIENTS_URL=127.0.0.1:4222
NATS_ENVIRONMENT_NAME=ewf-dev
# ENS
ROOT_DOMAIN=iam.ewc
CHAIN_ID=73799
CHAIN_NAME=volta
ENS_URL=<PUT_YOUR_VALUE_HERE>
PUBLIC_RESOLVER_ADDRESS=0x0a97e07c4Df22e2e31872F20C5BE191D5EFc4680
ENS_REGISTRY_ADDRESS=0xd7CeF70Ba7efc2035256d828d5287e2D285CD1ac
DID_REGISTRY_ADDRESS=0xC15D5A57A8Eb0e1dCBE5D88B8f9a82017e5Cc4AF
DOMAIN_NOTIFIER_ADDRESS=0xeea658026d6CDede4380D3aD030beAC911758A93
RESOLVER_V1_ADDRESS=0xf5EA22c1F799d425356c2aab2004200Ab4490D2b
RESOLVER_V2_ADDRESS=0xcf72f16Ab886776232bea2fcf3689761a0b74EfE
CHAIN_REQUEST_ATTEMPTS=5
# ASSETS
ASSETS_MANAGER_ADDRESS=0x524563FeA0c9b54B337F0bAc366A9f541d26b3ea
ASSETS_SYNC_INTERVAL_IN_HOURS=10
ASSETS_SYNC_HISTORY_INTERVAL_IN_HOURS=21
ASSETS_SYNC_ENABLED=true
# IPFS
IPFS_CLUSTER_ROOT # Cluster can be deployed locally with e2e/setupIpfsCluster/index.ts
IPFS_CLUSTER_USER # Not needed locally
IPFS_CLUSTER_PASSWORD # Not needed locally
IPFS_CLIENT_URL # Can be public gateway https://ipfs.github.io/public-gateway-checker/, Inura gateway or IPFS cluster. When cluster used as IPFS gateway it supports only GET
IPFS_CLIENT_PROTOCOL # These can be
IPFS_CLIENT_HOST # used instead of
IPFS_CLIENT_PORT # IPFS_CLIENT_URL
IPFS_CLIENT_PROJECT_ID # Id of Infura project or user of cluster
IPFS_CLIENT_PROJECT_SECRET # Secret of Infura project or cluster password
# INTERVALS
DIDDOC_SYNC_INTERVAL_IN_HOURS=1
DID_SYNC_ENABLED=false
ENS_SYNC_INTERVAL_IN_HOURS=1
ENS_SYNC_ENABLED=false
DID_SYNC_MODE_FULL=false
# AUTH
ENABLE_AUTH=true
JWT_PRIVATE_KEY_PATH=private.pem
JWT_PUBLIC_KEY_PATH=public.pem
STRATEGY_CACHE_SERVER=http://localhost:3000/v1/
STRATEGY_PRIVATE_KEY=eab5e5ccb983fad7bf7f5cb6b475a7aea95eff0c6523291b0c0ae38b5855459c
BLOCKNUM_AUTH_ENABLED=false
STRATEGY_NUM_BLOCKS_BACK=10
JWT_ACCESS_TOKEN_EXPIRES_IN=1m
JWT_REFRESH_TOKEN_EXPIRES_IN=2m
SIWE_NONCE_EXPIRES_IN=1m
JWT_ACCESS_TOKEN_NAME=token
JWT_REFRESH_TOKEN_NAME=refreshToken
RESTRICT_CORS_ORIGINS=false
ALLOWED_ORIGINS=https://switchboard-dev.energyweb.org,https://gp4btc-ui-dev.energyweb.org/,https://staking-ui-dev.energyweb.org,https://stedin-dev.energyweb.org
# DID UNIVERSAL RESOLVER
UNIVERSAL_RESOLVER_URL=https://dev.uniresolver.io/1.0/identifiers/
# SENTRY CONFIG
SENTRY_DNS=
SENTRY_ENV=
SENTRY_RELEASE=
STATUS_LIST_DOMAIN=http://localhost:3000/v1/
DISABLE_GET_DIDS_BY_ROLE=true