-
Notifications
You must be signed in to change notification settings - Fork 0
/
.example.env
41 lines (31 loc) · 1.07 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
ENV= prod
#PORT
PORT = 80 # use port 80 when running with docker
EXPOSED_CONTAINER_SERVER_PORT = 3025
#TYPEORM
TYPEORM_TYPE = postgres
TYPEORM_HOST = postgres
TYPEORM_USERNAME = postgres
TYPEORM_PASSWORD = postgres
TYPEORM_DATABASE = lacpass_trusted_list
TYPEORM_PORT = 5432
TYPEORM_SYNCHRONIZE = false
TYPEORM_LOGGING = true
TYPEORM_MIGRATIONS_RUN = true
EXPOSED_CONTAINER_TYPEORM_PORT = 5455
#REDIS
REDIS_HOST = redis
REDIS_PORT = 6379
REDIS_PASSWORD = redis
EXPOSED_CONTAINER_REDIS_PORT = 6405
#TOKEN
JWT_SECRET = some-secret-string
ACCESS_TOKEN_LIFE = 360000000
#RATE LIMIT
RATE_LIMIT_WINDOW = 5
RATE_LIMIT_MAX_REQUESTS = 100
# custom variables
TRUSTED_REGISTRIES="1,0x609e1d1364d607b027e577e10ad97c571b9518c1,648540,0x86Faa7372AB68852c89fee37cCAc4b4c11a8471D,0x9e55c" # format: "INDEX_1,PD1,PD1_CID,COT1,COT1_CID--2,INDEX_2,PD2,PD2_CID-COT2,COT2_CID"
TRUSTED_REGISTRIES_INDEX_PUBLIC_KEYS_TO_EXPOSE="1"
EXTERNAL_SOURCE_1="1,http://lacpass.create.cl:5001/trusted-parties" # format: "INDEX_1,url_1--INDEX_2,url_2" # refers to Create source
RPC_CONNECTION_648540="http://35.185.112.219"