-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathenv-example
133 lines (99 loc) · 4.83 KB
/
env-example
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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
##
## ________ ________ _____ _____ __
## / _/ __ \/ ____/ / / / | / _/ | / /
## / // / / / / / /_/ / /| | / // |/ /
## _/ // /_/ / /___/ __ / ___ |_/ // /| /
## /___/_____/\____/_/ /_/_/ |_/___/_/ |_/
##
##
## Please copy this file into a new file with name .env,
## and adjust the following variables to match your environment
## ↓↓↓↓
## ------------------------------------------------------------------------------------
## Pool IP
## Will be used to generate pool transaction genesis file
## If there is a need to make it reachable from the outside,
## please make sure it matches the PUBLIC IP of the machine
##
## If running in the Cloud, please run the script display-cloud-info.sh
## ↓↓↓↓-------------------------------------------------------------------------------
IDC_POOL_IP=172.16.0.200
## ------------------------------------------------------------------------------------
## Genesis Transaction Genesis File Path & Static Info Port (test-pool only)
##
## Will be used by the IEA API to connect with the ledger
## If there is no file, will try to request the pool transaction genesis file
## using the static info port
## ↓↓↓↓-------------------------------------------------------------------------------
IDC_API_GENESIS_TXN=./pool_transactions_genesis
IDC_POOL_INFO_PORT=8001
## ------------------------------------------------------------------------------------
## API Host & Port
## ↓↓↓↓-------------------------------------------------------------------------------
IDC_API_HOST=172.16.0.100
IDC_API_PORT=8000
## ------------------------------------------------------------------------------------
## API Domain Details
##
## Protocol, host & port (Reachable by other agents)
## These values will be shared in the connection offer messages
## sent to connect with other agents
## ↓↓↓↓-------------------------------------------------------------------------------
IDC_API_DOMAIN_PROTOCOL=http
IDC_API_DOMAIN_HOST=172.16.0.100
IDC_API_DOMAIN_PORT=8000
## ------------------------------------------------------------------------------------
## JSON Web Token Secret
##
## IMPORTANT!! Change it for any non dev/test environment
## ↓↓↓↓-------------------------------------------------------------------------------
IDC_API_JWT_SECRET=your_jwt_secret
## ------------------------------------------------------------------------------------
## IEA API Logger level
## ↓↓↓↓-------------------------------------------------------------------------------
IDC_API_LOG_LEVEL=debug
## ------------------------------------------------------------------------------------
## RUST logger level (low-level rust indy-sdk/libindy)
## ↓↓↓↓-------------------------------------------------------------------------------
RUST_LOG=debug
## ------------------------------------------------------------------------------------
## IEA API Database Connection Parameters
## ↓↓↓↓-------------------------------------------------------------------------------
# host and port at which the database is reachable
IDC_API_DB_HOST=mongodb
IDC_API_DB_PORT=27017
# database user username and password
IDC_API_DB_USER=
IDC_API_DB_PASSWORD=
## ------------------------------------------------------------------------------------
## Schema Compiler & Checker API Connection Parameters
## ↓↓↓↓-------------------------------------------------------------------------------
IDC_SCHEMA_IP=172.16.0.150
IDC_SCHEMA_PORT=9000
## ------------------------------------------------------------------------------------
## Wallet Cache Time To Live (in minutes)
##
## Time to wait before closing a wallet after no request is using it anymore
## ↓↓↓↓-------------------------------------------------------------------------------
IDC_API_WALLETCACHE_TTL=15
## ------------------------------------------------------------------------------------
## Flag to send all NYM transactions to the ledger (default false)
##
## This flag was used for experimentation purposes only
## by default pairwise dids are only stored locally and not stored on the ledger
## except when a role other than NONE is offered
## ↓↓↓↓-------------------------------------------------------------------------------
IDC_API_NYM_ALWAYS=false
## ------------------------------------------------------------------------------------
## Bcrypt saltOrRounds configuration
##
## For more info see: https://kikobeats.com/storing-passwords-101/
## ↓↓↓↓-------------------------------------------------------------------------------
IDC_API_SALTROUNDS=10
## ------------------------------------------------------------------------------------
## Deployment Parameters
##
## ↓↓↓↓-------------------------------------------------------------------------------
IDC_API_SUBNET=172.16.0.0/24
IDC_POOL_PORTS=9701-9708
IDC_PORT_START=9700