-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.example.env
79 lines (57 loc) · 1.78 KB
/
.example.env
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
ENV= prod
#PORT
PORT = 80 # use port 80 when running with docker
EXPOSED_CONTAINER_SERVER_PORT = 3001
#DOCS
DOCS_ENABLED = true
#TYPEORM
TYPEORM_TYPE = postgres
TYPEORM_HOST = localhost
TYPEORM_USERNAME = postgres
TYPEORM_PASSWORD = postgres
TYPEORM_DATABASE = lacchain_identity
TYPEORM_PORT = 5432
TYPEORM_SYNCHRONIZE = false
TYPEORM_LOGGING = true
TYPEORM_MIGRATIONS_RUN = true
EXPOSED_CONTAINER_TYPEORM_PORT = 5433
#REDIS
REDIS_HOST = redis
REDIS_PORT = 6379
REDIS_PASSWORD = redis
EXPOSED_CONTAINER_REDIS_PORT = 6380
#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
#IS_DEPENDENT_SERVICE = true # uncomment this only if the service communicates with the other components by way of external services
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
ED25519_CREATE_KEY=/ed25519
P256_CREATE_KEY=/p256
# Did Registry
CHAIN_ID = 0x9e55c
# CUSTOM_DID_REG = '0x43dE0954a2c83A415d82b9F31705B969b5856003,lac1,0001,0x9e55c' #'didRegistryAddress,didType,didVersion,chainId'
# 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