-
Notifications
You must be signed in to change notification settings - Fork 11
/
.env.example
190 lines (147 loc) · 5.91 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
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
# ------------------------------------------------------------
# Traction Services
# ------------------------------------------------------------
# How the Traction Service is seen from the outside world, either: ip address or dns name
# The hostname will also be registered as part of the profile endpoint on the ledger
TRACTION_SERVICE_HOST=localhost
TRACTION_SERVICE_PORT=5100
TRACTION_ENDPOINT=http://host.docker.internal:5100
WEB_CONCURRENCY=2
DEFAULT_RETRY_ATTEMPTS=10
DEFAULT_PAUSE_BETWEEN_ATTEMPTS=2
# ------------------------------------------------------------
# ACA-PY
# ------------------------------------------------------------
AGENT_NAME="Traction Agent"
# Run in read only mode
#ACAPY_READ_ONLY_MODE=--read-only-ledger
# ACAPY_GENESIS_URL=https://raw.githubusercontent.com/Indicio-tech/indicio-network/master/genesis_files/pool_transactions_testnet_genesis
ACAPY_GENESIS_URL=http://test.bcovrin.vonx.io/genesis
# To support revocation set the 2 URLs of an existing tails server
ACAPY_TAILS_BASE_URL=--tails-server-base-url https://tails-dev.vonx.io
ACAPY_TAILS_UPLOAD_URL=--tails-server-upload-url https://tails-dev.vonx.io
#
# Identity
#
# Enter wallet seed here:
ACAPY_SEED=YjieiZiyoHaMza3sxXmgBYjBQ7L1er62
#
# Security
#
# Protect all admin endpoints with the provided API key
# Development setup (do not use in production!)
#ACAPY_ADMIN_CONFIG=--admin-insecure-mode
# Production setup (change the key to a generated secret one)
ACAPY_ADMIN_URL_API_KEY=change-me
ACAPY_ADMIN_CONFIG=--admin-api-key ${ACAPY_ADMIN_URL_API_KEY}
ACAPY_WEBHOOK_URL_API_KEY=0e6eb09282024d0d4ccf8c44b9abea8b77806a7a353405fcde6a175c89fecbbb
TRACTION_HOST_URL=http://traction-api:5000
TRACTION_WEBHOOK_URL=http://traction-api:5000/webhook#${ACAPY_WEBHOOK_URL_API_KEY}
TRACTION_TENANT_WEBHOOK_URL=http://traction-api:5000/webhook/tenant
# JWT SECRET
# used to generate jwt for sub wallets
JWT_SECRET=change-me
#
# Connectivity
#
# Exposed service ports
ACAPY_HTTP_PORT=8030
ACAPY_ADMIN_PORT=8031
# Public endpoint URL that is registered on the ledger
ACAPY_ENDPOINT=http://traction-agent:8030
ACAPY_ADMIN_URL=http://traction-agent:8031
#
# Wallet Storage
#
ACAPY_WALLET_TYPE=postgres_storage
ACAPY_WALLET_DATABASE=traction-wallet
ACAPY_WALLET_ENCRYPTION_KEY=key
# ------------------------------------------------------------
# Postgres Storage
# ------------------------------------------------------------
POSTGRESQL_HOST=traction-db
POSTGRESQL_PORT=5432
POSTGRESQL_USER=postgres
POSTGRESQL_PASSWORD=postgresPass
# ---------------------
# Service DB Connection Info
# ---------------------
## traction
TRACTION_PSQL_DB=traction
TRACTION_PSQL_ADMIN=tractionadminuser
TRACTION_PSQL_ADMIN_PWD=tractionadminPass
TRACTION_PSQL_USER=tractionuser
TRACTION_PSQL_USER_PWD=tractionPass
TRACTION_API_ADMIN_USER=innkeeper
TRACTION_API_ADMIN_KEY=change-me
# ------------------------------------------------------------
# ------------------------------------------------------------
# Endorser Configuration
# ------------------------------------------------------------
# ------------------------------------------------------------
##SEED GENERATED THE DID
ACAPY_ENDORSER_SEED=YjieiZiyoHaMza3sxzmgBYjBQ7L1er62
ACAPY_ENDORSER_PUBLIC_DID=SVfHGCEEvEFmpBPcxgNqRR
# ------------------------------------------------------------
# Endorser Services
# ------------------------------------------------------------
ENDORSER_SERVICE_HOST=localhost
ENDORSER_SERVICE_PORT=5300
ENDORSER_ENDPOINT=http://host.docker.internal:5300
ACAPY_ENDORSER_ADMIN_PORT=9031
ACAPY_ENDORSER_HTTP_PORT=9030
ACAPY_ENDORSER_ENDPOINT=http://host.docker.internal:9030
ENDORSER_AGENT_NAME="Endorser Agent"
ENDORSER_CONNECTION_ALIAS=endorser
# Protect all admin endpoints with the provided API key
# Development setup (do not use in production!)
#ENDORSER_ACAPY_ADMIN_CONFIG=--admin-insecure-mode
# Production setup (change the key to a generated secret one)
ENDORSER_ACAPY_ADMIN_URL_API_KEY=change-me
ENDORSER_ACAPY_ADMIN_CONFIG=--admin-api-key ${ACAPY_ADMIN_URL_API_KEY}
ENDORSER_ACAPY_WEBHOOK_URL_API_KEY=0e6eb09282024d0d4ccf8c44b9abea8b77806a7a353405fcde6a175c89fecbbb
ENDORSER_WEBHOOK_URL=http://endorser-api:5000/webhook#${ENDORSER_ACAPY_WEBHOOK_URL_API_KEY}
ENDORSER_ACAPY_ADMIN_URL=http://endorser-agent:9031
ENDORSER_ACAPY_WALLET_TYPE=postgres_storage
ENDORSER_ACAPY_WALLET_DATABASE=endorser-wallet
ENDORSER_ACAPY_WALLET_ENCRYPTION_KEY=key
ENDORSER_POSTGRESQL_HOST=endorser-db
ENDORSER_POSTGRESQL_PORT=5433
ENDORSER_POSTGRESQL_USER=postgres
ENDORSER_POSTGRESQL_PASSWORD=postgresPass
## endorser
ENDORSER_PSQL_DB=traction
ENDORSER_PSQL_ADMIN=tractionadminuser
ENDORSER_PSQL_ADMIN_PWD=tractionadminPass
ENDORSER_PSQL_USER=tractionuser
ENDORSER_PSQL_USER_PWD=tractionPass
ENDORSER_API_ADMIN_USER=endorser
ENDORSER_API_ADMIN_KEY=change-me
# ------------------------------------------------------------
# ------------------------------------------------------------
# SHOWCASE Configuration
# ------------------------------------------------------------
# ------------------------------------------------------------
SHOWCASE_SERVICE_HOST=localhost
SHOWCASE_SERVICE_PORT=5200
SHOWCASE_ENDPOINT=http://host.docker.internal:5200
# where in the docker image are the static files (vue app) found?
SHOWCASE_STATIC_FILES=/traction/static
# optional CORS urls for the showcase API to allow, can set for local Frontend development in your .env
SHOWCASE_CORS_URLS=http://localhost,http://localhost:8080
# ------------------------------------------------------------
# SHOWCASE Postgres Storage
# ------------------------------------------------------------
SHOWCASE_POSTGRESQL_HOST=showcase-db
SHOWCASE_POSTGRESQL_PORT=6543
SHOWCASE_POSTGRESQL_USER=postgres
SHOWCASE_POSTGRESQL_PASSWORD=postgresPass
# ---------------------
# SHOWCASE Service DB Connection Info
# ---------------------
##traction
SHOWCASE_PSQL_DB=showcase
SHOWCASE_PSQL_ADMIN=showcaseadminuser
SHOWCASE_PSQL_ADMIN_PWD=showcaseadminPass
SHOWCASE_PSQL_USER=showcaseuser
SHOWCASE_PSQL_USER_PWD=showcasePass