-
Notifications
You must be signed in to change notification settings - Fork 137
/
docker-compose.yml
480 lines (480 loc) · 21.8 KB
/
docker-compose.yml
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
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
version: "3"
services:
quickstart-test:
image: busybox
depends_on:
- apollo-router
- oathkeeper
- kratos
- galoy
- trigger
- redis
- mongodb
- mongodb-migrate
- price
- bitcoind
- bitcoind-signer
- lnd1
- lnd-outside-1
- bria
- fulcrum
- stablesats
- svix
- hydra
restart: on-failure:10
apollo-router:
image: ghcr.io/apollographql/router:v1.25.0
ports:
- 4004:4004
environment:
- APOLLO_ROUTER_SUPERGRAPH_PATH=/repo/dev/supergraph.graphql
- APOLLO_ROUTER_CONFIG_PATH=/repo/dev/router.yaml
volumes:
- ${HOST_PROJECT_PATH:-.}/${GALOY_QUICKSTART_PATH:-vendor/galoy-quickstart}/dev/config/apollo-federation:/repo/dev
depends_on:
- otel-agent
oathkeeper:
image: oryd/oathkeeper:v0.40.6-distroless
ports:
- 4455:4455
- 4456:4456
command: serve -c /home/ory/oathkeeper.yml --sqa-opt-out
volumes:
- ${HOST_PROJECT_PATH:-.}/${GALOY_QUICKSTART_PATH:-vendor/galoy-quickstart}/dev/config/ory:/home/ory
depends_on:
- kratos
- hydra
- apollo-router
- otel-agent
kratos:
image: oryd/kratos:v1.0.0
ports:
- 4433:4433
- 4434:4434
entrypoint: sh -c
command: '"kratos migrate sql up -y -e && kratos serve -c /home/ory/kratos.yml --watch-courier --sqa-opt-out"'
environment:
DSN: postgres://dbuser:secret@kratos-pg:5432/default?sslmode=disable
links:
- kratos-pg:kratos-pg
volumes:
- ${HOST_PROJECT_PATH:-.}/${GALOY_QUICKSTART_PATH:-vendor/galoy-quickstart}/dev/config/ory:/home/ory
kratos-pg:
image: postgres:14.1
ports:
- 5432:5432
environment:
- POSTGRES_USER=dbuser
- POSTGRES_PASSWORD=secret
- POSTGRES_DB=default
hydra:
image: oryd/hydra:v2.2.0
ports:
- 4444:4444
- 4445:4445
command: serve -c /home/ory/hydra.yml all --dev
volumes:
- ${HOST_PROJECT_PATH:-.}/${GALOY_QUICKSTART_PATH:-vendor/galoy-quickstart}/dev/config/ory:/home/ory
environment:
- DSN=postgres://hydra:secret@hydra-pg:5432/hydra?sslmode=disable&max_conns=20&max_idle_conns=4
restart: unless-stopped
depends_on:
- hydra-migrate
- hydra-pg
hydra-migrate:
image: oryd/hydra:v2.2.0
environment:
- DSN=postgres://hydra:secret@hydra-pg:5432/hydra?sslmode=disable&max_conns=20&max_idle_conns=4
command: migrate -c /home/ory/hydra.yml sql -e --yes
volumes:
- ${HOST_PROJECT_PATH:-.}/${GALOY_QUICKSTART_PATH:-vendor/galoy-quickstart}/dev/config/ory:/home/ory
restart: on-failure
depends_on:
- hydra-pg
hydra-pg:
image: postgres:14.1
environment:
- POSTGRES_USER=hydra
- POSTGRES_PASSWORD=secret
- POSTGRES_DB=hydra
galoy:
image: us.gcr.io/galoy-org/galoy-api@sha256:ba677c8f749b425f3f070eb94733805cdb85ad322ff1cee0d8e3addf8ce0343c
environment:
- HELMREVISION=dev
- NETWORK=regtest
- OATHKEEPER_DECISION_ENDPOINT=http://oathkeeper:4456
- TWILIO_ACCOUNT_SID=AC_twilio_id
- TWILIO_AUTH_TOKEN=AC_twilio_auth_token
- TWILIO_VERIFY_SERVICE_ID=VA_twilio_service
- KRATOS_PG_CON=postgres://dbuser:secret@kratos-pg:5432/default?sslmode=disable
- KRATOS_PUBLIC_API=http://kratos:4433
- KRATOS_ADMIN_API=http://kratos:4434
- KRATOS_MASTER_USER_PASSWORD=passwordHardtoFindWithNumber123
- KRATOS_CALLBACK_API_KEY=The-Value-of-My-Key
- PRICE_HOST=price
- PRICE_HISTORY_HOST=price-history
- PRICE_SERVER_HOST=stablesats
- BRIA_HOST=bria
- BRIA_API_KEY=bria_dev_000000000000000000000
- NOTIFICATIONS_HOST=notifications
- MONGODB_CON=mongodb://mongodb:27017/galoy
- REDIS_MASTER_NAME=mymaster
- REDIS_PASSWORD=
- REDIS_0_DNS=redis
- REDIS_0_PORT=6379
- REDIS_TYPE=standalone
- UNSECURE_IP_FROM_REQUEST_OBJECT=true
- UNSECURE_DEFAULT_LOGIN_CODE=000000
- G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kEgV3cml0ZRoWCgdtZXNzYWdlEgRyZWFkEgV3cml0ZRoXCghvZmZjaGFpbhIEcmVhZBIFd3JpdGUaFgoHb25jaGFpbhIEcmVhZBIFd3JpdGUaFAoFcGVlcnMSBHJlYWQSBXdyaXRlGhgKBnNpZ25lchIIZ2VuZXJhdGUSBHJlYWQAAAYgMAKlr1HehfBpn2R5RPE2IuY9r/18QBeLZxYgRidpos4=
- LND2_PUBKEY=039341ef13e776dc1611502cf510110d9ac5cdc252141f5997adcfd72cef34c3a7
- LND2_DNS=lnd2
- LND2_RPCPORT=10010
- LND2_NAME=lnd2
- LND2_TYPE=offchain
- SVIX_SECRET=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpYXQiOjE2OTE2NzIwMTQsImV4cCI6MjAwNzAzMjAxNCwibmJmIjoxNjkxNjcyMDE0LCJpc3MiOiJzdml4LXNlcnZlciIsInN1YiI6Im9yZ18yM3JiOFlkR3FNVDBxSXpwZ0d3ZFhmSGlyTXUifQ.b9s0aWSisNdUNki4edabBEToLNSwjC9-AiJQr4J3y4E
- SVIX_ENDPOINT=http://svix:8071
- EXPORTER_PORT=3003
- OTEL_EXPORTER_OTLP_ENDPOINT=http://otel-agent:4318
depends_on:
- trigger
- apollo-router
- oathkeeper
- kratos
- lnd1
- lnd-outside-1
- bria
- mongodb
- redis
- stablesats
networks:
default:
aliases:
- bats-tests
trigger:
image: us.gcr.io/galoy-org/galoy-api-trigger@sha256:45860db5f0f8864d1c20e440edf9c469ff0cf78b1d499f472097c35c806def53
environment:
- HELMREVISION=dev
- NETWORK=regtest
- OATHKEEPER_DECISION_ENDPOINT=http://oathkeeper:4456
- TWILIO_ACCOUNT_SID=AC_twilio_id
- TWILIO_AUTH_TOKEN=AC_twilio_auth_token
- TWILIO_VERIFY_SERVICE_ID=VA_twilio_service
- KRATOS_PG_CON=postgres://dbuser:secret@kratos-pg:5432/default?sslmode=disable
- KRATOS_PUBLIC_API=http://kratos:4433
- KRATOS_ADMIN_API=http://kratos:4434
- KRATOS_MASTER_USER_PASSWORD=passwordHardtoFindWithNumber123
- KRATOS_CALLBACK_API_KEY=The-Value-of-My-Key
- PRICE_HOST=price
- PRICE_HISTORY_HOST=price-history
- PRICE_SERVER_HOST=stablesats
- BRIA_HOST=bria
- BRIA_API_KEY=bria_dev_000000000000000000000
- NOTIFICATIONS_HOST=notifications
- MONGODB_CON=mongodb://mongodb:27017/galoy
- REDIS_MASTER_NAME=mymaster
- REDIS_PASSWORD=
- REDIS_0_DNS=redis
- REDIS_0_PORT=6379
- REDIS_TYPE=standalone
- UNSECURE_IP_FROM_REQUEST_OBJECT=true
- UNSECURE_DEFAULT_LOGIN_CODE=000000
- GEETEST_ID=geetest_id
- GEETEST_KEY=geetest_key
- LND1_TLS=LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUNZVENDQWdlZ0F3SUJBZ0lSQU9zZzdYWFR4cnVZYlhkeTY2d3RuN1F3Q2dZSUtvWkl6ajBFQXdJd09ERWYKTUIwR0ExVUVDaE1XYkc1a0lHRjFkRzluWlc1bGNtRjBaV1FnWTJWeWRERVZNQk1HQTFVRUF4TU1PRFl4T1RneApNak5tT0Roak1CNFhEVEl6TURFeE9USXdOREUxTTFvWERUTTBNRGN5TVRJd05ERTFNMW93T0RFZk1CMEdBMVVFCkNoTVdiRzVrSUdGMWRHOW5aVzVsY21GMFpXUWdZMlZ5ZERFVk1CTUdBMVVFQXhNTU9EWXhPVGd4TWpObU9EaGoKTUZrd0V3WUhLb1pJemowQ0FRWUlLb1pJemowREFRY0RRZ0FFM1lieUlKWU1Vcm8zZkl0UFFucysxZ2lpTXI5NQpJUXRmclFDQ2JhOWVtcjI4TENmbk1vYy9VQVFwUlg3QVlvVFRneUdiMFBuZGNUODF5ZVgvYTlPa0RLT0I4VENCCjdqQU9CZ05WSFE4QkFmOEVCQU1DQXFRd0V3WURWUjBsQkF3d0NnWUlLd1lCQlFVSEF3RXdEd1lEVlIwVEFRSC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Bd0lEU0FBd1JRSWhBSU5DNlJWQ3d6SzFYRnFxeVNLY0Y4QzQ5ZFlSOThjemdLNVdkcmNOCkxYYWlBaUJHYmtWeGhaeHdDaDVLQ1o1Z2M1Q2FsQ0RvaGNxVkdiaHNya0hHTFhpdHN3PT0KLS0tLS1FTkQgQ0VSVElGSUNBVEUtLS0tLQo=
- LND2_MACAROON=AgEDbG5kAvgBAwoQX0BxfhQTxLTiqaceBnGnfBIBMBoWCgdhZGRyZXNzEgRyZWFkEgV3cml0ZRoTCgRpbmZvEgRyZWFkEgV3cml0ZRoXCghpbnZvaWNlcxIEcmVhZBIFd3JpdGUaIQoIbWFjYXJvb24SCGdlbmVyYXRlEgRyZWFkEgV3cml0ZRoWCgdtZXNzYWdlEgRyZWFkEgV3cml0ZRoXCghvZmZjaGFpbhIEcmVhZBIFd3JpdGUaFgoHb25jaGFpbhIEcmVhZBIFd3JpdGUaFAoFcGVlcnMSBHJlYWQSBXdyaXRlGhgKBnNpZ25lchIIZ2VuZXJhdGUSBHJlYWQAAAYgMAKlr1HehfBpn2R5RPE2IuY9r/18QBeLZxYgRidpos4=
- LND2_PUBKEY=039341ef13e776dc1611502cf510110d9ac5cdc252141f5997adcfd72cef34c3a7
- LND2_DNS=lnd2
- LND2_RPCPORT=10010
- LND2_NAME=lnd2
- LND2_TYPE=offchain
- SVIX_SECRET=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpYXQiOjE2OTE2NzIwMTQsImV4cCI6MjAwNzAzMjAxNCwibmJmIjoxNjkxNjcyMDE0LCJpc3MiOiJzdml4LXNlcnZlciIsInN1YiI6Im9yZ18yM3JiOFlkR3FNVDBxSXpwZ0d3ZFhmSGlyTXUifQ.b9s0aWSisNdUNki4edabBEToLNSwjC9-AiJQr4J3y4E
- SVIX_ENDPOINT=http://svix:8071
- EXPORTER_PORT=3003
- OTEL_EXPORTER_OTLP_ENDPOINT=http://otel-agent:4318
depends_on:
- lnd1
- bria
- mongodb
notifications:
image: us.gcr.io/galoy-org/galoy-notifications@sha256:71c53ab3d9a4282d44d0605b95f1691ebc23334e8108bd4d06021a0c627a1205
environment:
- PG_CON=postgres://user:password@notifications-pg:5432/pg
- OTEL_EXPORTER_OTLP_ENDPOINT=http://otel-agent:4318
- NOTIFICATIONS_CONFIG=/config/notifications/notifications.yml
ports:
- 6685:6685
volumes:
- ${HOST_PROJECT_PATH:-.}/${GALOY_QUICKSTART_PATH:-vendor/galoy-quickstart}/dev/config/notifications/notifications.yml:/config/notifications/notifications.yml
- ${HOST_PROJECT_PATH:-.}/${GALOY_QUICKSTART_PATH:-vendor/galoy-quickstart}/dev/config/notifications/fake_service_account.json:/app/notifications/config/notifications/fake_service_account.json
depends_on:
- notifications-pg
notifications-pg:
image: postgres:14.1
environment:
- POSTGRES_USER=user
- POSTGRES_PASSWORD=password
- POSTGRES_DB=pg
ports:
- 5433:5432
healthcheck:
test:
- CMD-SHELL
- pg_isready
interval: 5s
timeout: 30s
retries: 5
redis:
image: redis:7.0.8
ports:
- 6379:6379
environment:
- ALLOW_EMPTY_PASSWORD=yes
- REDIS_DISABLE_COMMANDS=FLUSHDB,FLUSHALL
mongodb:
image: mongo:7.0.6
ports:
- 27017:27017
environment:
- MONGO_INITDB_DATABASE=galoy
mongodb-migrate:
image: us.gcr.io/galoy-org/galoy-api-migrate@sha256:46a28cffe1bde58dc25c1e5158f0823bc43ab9993001afea8970dd0c934a5e3f
depends_on:
- mongodb
environment:
- MONGODB_ADDRESS=mongodb
price:
image: us.gcr.io/galoy-org/price:edge
ports:
- 50051:50051
- 9464:9464
volumes:
- ${HOST_PROJECT_PATH:-.}/${GALOY_QUICKSTART_PATH:-vendor/galoy-quickstart}/dev/config/price.yml:/var/yaml/custom.yaml
price-history:
image: us.gcr.io/galoy-org/price-history:edge
ports:
- 50052:50052
command: ./scripts/run-servers-dev.sh
environment:
- DB_HOST=price-history-pg
- DB_PORT=5432
- DB_USER=galoy-price-usr
- DB_PWD=galoy-price-pwd
- DB_DB=galoy-price-history
- DB_POOL_MIN=1
- DB_POOL_MAX=5
- DB_DEBUG=false
depends_on:
- price-history-pg
- price-history-migrate
price-history-migrate:
image: us.gcr.io/galoy-org/price-history-migrate:edge
ports: []
environment:
- DB_HOST=price-history-pg
- DB_PORT=5432
- DB_USER=galoy-price-usr
- DB_PWD=galoy-price-pwd
- DB_DB=galoy-price-history
- DB_POOL_MIN=1
- DB_POOL_MAX=5
- DB_DEBUG=false
depends_on:
- price-history-pg
price-history-pg:
image: postgres:15.1
environment:
- POSTGRES_USER=galoy-price-usr
- POSTGRES_PASSWORD=galoy-price-pwd
- POSTGRES_DB=galoy-price-history
healthcheck:
test:
- CMD-SHELL
- pg_isready
interval: 5s
timeout: 30s
retries: 5
bitcoind:
image: lncm/bitcoind:v27.0
ports:
- 18443:18443
volumes:
- ${HOST_PROJECT_PATH:-.}/${GALOY_QUICKSTART_PATH:-vendor/galoy-quickstart}/dev/config/bitcoind/bitcoin.conf:/data/.bitcoin/bitcoin.conf
bitcoind-signer:
image: lncm/bitcoind:v27.0
ports: []
volumes:
- ${HOST_PROJECT_PATH:-.}/${GALOY_QUICKSTART_PATH:-vendor/galoy-quickstart}/dev/config/bitcoind/bitcoin.conf:/data/.bitcoin/bitcoin.conf
depends_on:
- bitcoind
entrypoint:
- /bin/sh
- -c
command:
- |
bitcoind -connect=bitcoind:18444
lnd1:
image: lightninglabs/lnd:v0.18.3-beta
ports:
- 10009:10009
volumes:
- ${HOST_PROJECT_PATH:-.}/${GALOY_QUICKSTART_PATH:-vendor/galoy-quickstart}/dev/config/lnd/lnd.conf:/root/.lnd/lnd.conf
- ${HOST_PROJECT_PATH:-.}/${GALOY_QUICKSTART_PATH:-vendor/galoy-quickstart}/dev/config/lnd/tls.key:/root/.lnd/tls.key
- ${HOST_PROJECT_PATH:-.}/${GALOY_QUICKSTART_PATH:-vendor/galoy-quickstart}/dev/config/lnd/tls.cert:/root/.lnd/tls.cert
- ${HOST_PROJECT_PATH:-.}/${GALOY_QUICKSTART_PATH:-vendor/galoy-quickstart}/dev/config/lnd/regtest/lnd1.wallet.db:/root/.lnd/wallet.db
- ${HOST_PROJECT_PATH:-.}/${GALOY_QUICKSTART_PATH:-vendor/galoy-quickstart}/dev/config/lnd/regtest/lnd1.macaroons.db:/root/.lnd/macaroons.db
- ${HOST_PROJECT_PATH:-.}/${GALOY_QUICKSTART_PATH:-vendor/galoy-quickstart}/dev/config/lnd/regtest/lnd1.admin.macaroon:/root/.lnd/admin.macaroon
depends_on:
- bitcoind
entrypoint:
- /bin/sh
- -c
command:
- |
mkdir -p /root/.lnd/data/chain/bitcoin/regtest/
cp /root/.lnd/wallet.db /root/.lnd/data/chain/bitcoin/regtest/wallet.db
cp /root/.lnd/macaroons.db /root/.lnd/data/chain/bitcoin/regtest/macaroons.db
cp /root/.lnd/admin.macaroon /root/.lnd/data/chain/bitcoin/regtest/admin.macaroon
/bin/lnd
lnd-outside-1:
image: lightninglabs/lnd:v0.18.3-beta
ports:
- 10012:10009
volumes:
- ${HOST_PROJECT_PATH:-.}/${GALOY_QUICKSTART_PATH:-vendor/galoy-quickstart}/dev/config/lnd/lnd.conf:/root/.lnd/lnd.conf
- ${HOST_PROJECT_PATH:-.}/${GALOY_QUICKSTART_PATH:-vendor/galoy-quickstart}/dev/config/lnd/tls.key:/root/.lnd/tls.key
- ${HOST_PROJECT_PATH:-.}/${GALOY_QUICKSTART_PATH:-vendor/galoy-quickstart}/dev/config/lnd/tls.cert:/root/.lnd/tls.cert
- ${HOST_PROJECT_PATH:-.}/${GALOY_QUICKSTART_PATH:-vendor/galoy-quickstart}/dev/config/lnd/regtest/lnd-outside-1.wallet.db:/root/.lnd/wallet.db
- ${HOST_PROJECT_PATH:-.}/${GALOY_QUICKSTART_PATH:-vendor/galoy-quickstart}/dev/config/lnd/regtest/lnd-outside-1.macaroons.db:/root/.lnd/macaroons.db
- ${HOST_PROJECT_PATH:-.}/${GALOY_QUICKSTART_PATH:-vendor/galoy-quickstart}/dev/config/lnd/regtest/lnd-outside-1.admin.macaroon:/root/.lnd/admin.macaroon
entrypoint:
- /bin/sh
- -c
command:
- |
mkdir -p /root/.lnd/data/chain/bitcoin/regtest/
cp /root/.lnd/wallet.db /root/.lnd/data/chain/bitcoin/regtest/wallet.db
cp /root/.lnd/macaroons.db /root/.lnd/data/chain/bitcoin/regtest/macaroons.db
cp /root/.lnd/admin.macaroon /root/.lnd/data/chain/bitcoin/regtest/admin.macaroon
/bin/lnd
depends_on:
- bitcoind
bria:
image: us.gcr.io/galoy-org/bria:latest
ports:
- 2743:2743
- 2742:2742
environment:
- PG_CON=postgres://user:password@bria-pg:5432/pg
- BITCOIND_SIGNER_ENDPOINT=https://bitcoind-signer:18443
command:
- bria
- daemon
- --config
- /bria.yml
- dev
- -x
- tpubDDDDGYiFda8HfJRc2AHFJDxVzzEtBPrKsbh35EaW2UGd5qfzrF2G87ewAgeeRyHEz4iB3kvhAYW1sH6dpLepTkFUzAktumBN8AXeXWE9nd1
- -d
- m/84h/0h/0h
volumes:
- ${HOST_PROJECT_PATH:-.}/${GALOY_QUICKSTART_PATH:-vendor/galoy-quickstart}/dev/config/bria.yml:/bria.yml
depends_on:
bitcoind-signer:
condition: service_started
otel-agent:
condition: service_started
fulcrum:
condition: service_started
bria-pg:
condition: service_healthy
bria-pg:
image: postgres:14.1
environment:
- POSTGRES_USER=user
- POSTGRES_PASSWORD=password
- POSTGRES_DB=pg
healthcheck:
test:
- CMD-SHELL
- pg_isready
interval: 5s
timeout: 30s
retries: 5
fulcrum:
image: cculianu/fulcrum:latest
ports:
- 50001:50001
depends_on:
- bitcoind
volumes:
- ${HOST_PROJECT_PATH:-.}/${GALOY_QUICKSTART_PATH:-vendor/galoy-quickstart}/dev/config/fulcrum/fulcrum.conf:/fulcrum.conf
- ${HOST_PROJECT_PATH:-.}/${GALOY_QUICKSTART_PATH:-vendor/galoy-quickstart}/dev/config/fulcrum/tls.key:/tls.key
- ${HOST_PROJECT_PATH:-.}/${GALOY_QUICKSTART_PATH:-vendor/galoy-quickstart}/dev/config/fulcrum/tls.cert:/tls.cert
environment:
- DATA_DIR=/db
- SSL_CERTFILE=/tls.cert
- SSL_KEYFILE=/tls.key
command:
- Fulcrum
- /fulcrum.conf
stablesats:
image: us.gcr.io/galoy-org/stablesats-rs:latest
ports:
- 3325:3325
command:
- stablesats
- run
working_dir: /repo/config
depends_on:
- otel-agent
restart: on-failure:10
volumes:
- ${HOST_PROJECT_PATH:-.}/${GALOY_QUICKSTART_PATH:-vendor/galoy-quickstart}/dev/:/repo
otel-agent:
ports:
- 4318:4318
- 4317:4317
image: otel/opentelemetry-collector-contrib:0.84.0
command:
- --config=/etc/otel-agent-config.yaml
environment:
- HONEYCOMB_DATASET=${HONEYCOMB_DATASET}
- HONEYCOMB_API_KEY=${HONEYCOMB_API_KEY}
volumes:
- ${HOST_PROJECT_PATH:-.}/${GALOY_QUICKSTART_PATH:-vendor/galoy-quickstart}/dev/config/otel-agent-config.yaml:/etc/otel-agent-config.yaml
svix:
image: svix/svix-server:v1.38
platform: linux/amd64
environment:
WAIT_FOR: "true"
SVIX_DB_DSN: postgresql://postgres:postgres@svix-pg/postgres
SVIX_JWT_SECRET: 8KjzRXrKkd9YFcNyqLSIY8JwiaCeRc6WK4UkMnSW
SVIX_WHITELIST_SUBNETS: '[0.0.0.0/0]'
SVIX_QUEUE_TYPE: memory
depends_on:
- svix-pg
ports:
- 8071:8071
extra_hosts:
- dockerhost-alias:host-gateway
svix-pg:
image: postgres:14.1
environment:
POSTGRES_PASSWORD: postgres