-
Notifications
You must be signed in to change notification settings - Fork 23
/
scheme-adapter-sim.env
64 lines (47 loc) · 2.13 KB
/
scheme-adapter-sim.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
#### Scheme adapter configuration options ####
# Port number that the inbound (Mojaloop API) HTTP server will listen on
INBOUND_LISTEN_PORT=4000
# Port number that the outbound (simplified DFSP outbound API) HTTP server will listen on
OUTBOUND_LISTEN_PORT=4001
# Enable mutual TLS authentication. Useful when not running in a secure
# environment, i.e. when you're running it locally against your own implementation.
MUTUAL_TLS_ENABLED=false
# Enable JWS verification and signing
VALIDATE_INBOUND_JWS=false
JWS_SIGN=true
# Path to JWS signing key (private key of THIS DFSP)
JWS_SIGNING_KEY_PATH=/jwsSigningKey.key
JWS_VERIFICATION_KEYS_DIRECTORY=/jwsVerificationKeys
# Location of certs and key required for TLS
IN_CA_CERT_PATH=./secrets/cacert.pem
IN_SERVER_CERT_PATH=./secrets/servercert.pem
IN_SERVER_KEY_PATH=./secrets/serverkey.pem
OUT_CA_CERT_PATH=./secrets/cacert.pem
OUT_CLIENT_CERT_PATH=./secrets/servercert.pem
OUT_CLIENT_KEY_PATH=./secrets/serverkey.pem
# The number of space characters by which to indent pretty-printed logs. If set to zero, log events
# will each be printed on a single line.
LOG_INDENT=0
# The DFSPID of this simulator. The simulator will accept any requests routed to
# FSPIOP-Destination: $DFSP_ID. Other requests will be rejected.
DFSP_ID=dfsp
# REDIS cache connection
CACHE_HOST=redis-sim
CACHE_PORT=6379
# Switch or DFSP system under test Mojaloop API endpoint
#PEER_ENDPOINT=172.21.0.5:4000
PEER_ENDPOINT=scheme-adapter-dfsp:4000
# Simulator backend container endpoint
BACKEND_ENDPOINT=sim:3000
# Secret used for generation and verification of secure ILP
ILP_SECRET=Quaixohyaesahju3thivuiChai5cahng
# expiry period in seconds for quote and transfers issued by the SDK
EXPIRY_SECONDS=60
# if set to false the SDK will not automatically accept all returned quotes
# but will halt the transfer after a quote response is received. A further
# confirmation call will be required to complete the final transfer stage.
AUTO_ACCEPT_QUOTES=false
# set to true to validate ILP, otherwise false to ignore ILP
CHECK_ILP=true
# set to true to enable test features such as request cacheing and retrieval endpoints
ENABLE_TEST_FEATURES=true