-
Notifications
You must be signed in to change notification settings - Fork 0
/
.example.env.dev
83 lines (61 loc) · 2.26 KB
/
.example.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
#PORT
PORT = 80 # use port 80 when running with docker
EXPOSED_CONTAINER_SERVER_PORT = 3002
#DOCS
DOCS_ENABLED = true
#TYPEORM
TYPEORM_TYPE = postgres
TYPEORM_HOST = localhost
TYPEORM_USERNAME = postgres
TYPEORM_PASSWORD = postgres
TYPEORM_DATABASE = lacchain_trust_development
TYPEORM_PORT = 5432
TYPEORM_SYNCHRONIZE = false
TYPEORM_LOGGING = true
TYPEORM_MIGRATIONS_RUN = true
EXPOSED_CONTAINER_TYPEORM_PORT = 5434
#REDIS
REDIS_HOST = redis
REDIS_PORT = 6379
REDIS_PASSWORD = redis
EXPOSED_CONTAINER_REDIS_PORT = 6381
#TOKEN
JWT_SECRET = some-secret-string
ACCESS_TOKEN_LIFE = 360000000
#RATE LIMIT
RATE_LIMIT_WINDOW = 5
RATE_LIMIT_MAX_REQUESTS = 100
#AWS
AWS_ID=<ID>
AWS_SECRET=<SECRET>
AWS_REGION=<REGION>
AWS_S3_BUCKETNAME=api-express-test
AWS_SES_API_VERSION=<VERSION>
#SENDGRID
SENDGRID_API_USER=<USER>
SENDGRID_API_KEY=<API-KEY>
#Email
EMAIL_TRANSPORTER = AWS
# EXTERNAL SERVICES
# COT_IS_DEPENDENT_SERVICE = true # uncomment this only if the service communicates with the other components by way of external services
IDENTITY_MANAGER_BASE_URL = http://lacchain-identity-manager/api/v1
DID_LAC1 = /did/lac1
DID_LAC1_ADD_NEW_ETHEREUM_ACCOUNT_ATTRIBUTE = /did/lac1/attribute/add/delegate/address/new
# Did Registry
CHAIN_ID = 0x9e55c
# DID_REGISTRY_ADDRESS = 0x00f23cda3cbec27ae630894dd84e88033676d136 # optional address, just in case you are willing to use another did registry
# DOMAIN_NAME = lacchain.id # optional param just in case you are willing to use another domain name
# Blockchain Connection
# for open protestnet: 'http://35.185.112.219'
# for mainnet: TBD
NODE_RPC_URL = http://35.185.112.219
#Node Address depends on the lacchain node you are connecting with
NODE_ADDRESS = 0xad730de8c4bfc3d845f7ce851bcf2ea17c049585
# key manager
KEY_MANAGER_BASE_URL=http://lacchain-key-manager/api/v1
SECP256K1_KEY=/secp256k1
SECP256K1_SIGN_ETHEREUM_TRANSACTION=/secp256k1/sign/ethereum-tx
SECP256K1_SIGN_LACCHAIN_TRANSACTION=/secp256k1/sign/lacchain-tx
# Core business variables for this repo
# PUBLIC_DIRECTORY_CONTRACT_ADDRESS = '0x6D6832304795C5f2D554c8877BFA07DD8d78A80F' # 20/06/2024 optional. There is a hardcoded value in the souce code
# CHAIN_OF_TRUST_CONTRACT_ADDRESS = '0x25a64325d73cB7226EBcC390600ccB6a7557e4f1' # optional. There is a hardcoded value in the souce code