forked from GaloyMoney/blink
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
98 lines (98 loc) · 2.63 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
version: "2"
services:
integration-deps:
image: busybox
depends_on:
- price
- redis
- mongodb
- bitcoind
- lnd1
- lnd2
- lnd-outside-1
- lnd-outside-2
- otel-agent
otel-agent:
image: otel/opentelemetry-collector-contrib:0.37.1
command: ["--config=/etc/otel-agent-config.yaml", "--log-level=debug"]
environment:
- HONEYCOMB_DATASET=${HONEYCOMB_DATASET}
- HONEYCOMB_API_KEY=${HONEYCOMB_API_KEY}
volumes:
- ./dev/otel-agent-config.yaml:/etc/otel-agent-config.yaml
ports:
- "6831:6831/udp" # Jaeger receiver
- "6832:6832/udp" # Jaeger receiver
price:
image: us.gcr.io/galoy-org/price:edge
ports:
- "50051:50051"
- "9464:9464"
redis:
image: bitnami/redis:6.2
ports:
- "6379:6379"
environment:
- ALLOW_EMPTY_PASSWORD=yes
- REDIS_DISABLE_COMMANDS=FLUSHDB,FLUSHALL
mongodb-migrate:
depends_on: [mongodb]
build:
context: .
dockerfile: Dockerfile-migrate
environment:
- MONGODB_ADDRESS=mongodb
mongodb:
image: bitnami/mongodb:4.4.6-debian-10-r0
ports:
- "27017:27017"
environment:
- MONGODB_PASSWORD=password
- MONGODB_USERNAME=testGaloy
- MONGODB_DATABASE=galoy
- MONGODB_REPLICA_SET_MODE=primary
- MONGODB_ROOT_PASSWORD=password
- MONGODB_REPLICA_SET_KEY=replicasetkey
- MONGODB_ADVERTISED_HOSTNAME=${DOCKER_HOST_IP:-127.0.0.1}
bitcoind:
image: lncm/bitcoind:v22.0
ports:
- "18443:18443"
volumes:
- ${PWD}/dev/bitcoind/bitcoin.conf:/data/.bitcoin/bitcoin.conf
lnd1:
image: lightninglabs/lnd:v0.14.1-beta
ports:
- "10009:10009"
volumes:
- ${PWD}/dev/lnd/lnd.conf:/root/.lnd/lnd.conf
- ${PWD}/dev/lnd/tls.key:/root/.lnd/tls.key
- ${PWD}/dev/lnd/tls.cert:/root/.lnd/tls.cert
depends_on: [bitcoind]
lnd2:
image: lightninglabs/lnd:v0.14.1-beta
ports:
- "10010:10009"
volumes:
- ${PWD}/dev/lnd/lnd.conf:/root/.lnd/lnd.conf
- ${PWD}/dev/lnd/tls.key:/root/.lnd/tls.key
- ${PWD}/dev/lnd/tls.cert:/root/.lnd/tls.cert
depends_on: [bitcoind]
lnd-outside-1:
image: lightninglabs/lnd:v0.14.1-beta
ports:
- "10012:10009"
volumes:
- ${PWD}/dev/lnd/lnd.conf:/root/.lnd/lnd.conf
- ${PWD}/dev/lnd/tls.key:/root/.lnd/tls.key
- ${PWD}/dev/lnd/tls.cert:/root/.lnd/tls.cert
depends_on: [bitcoind]
lnd-outside-2:
image: lightninglabs/lnd:v0.14.1-beta
ports:
- "10013:10009"
volumes:
- ${PWD}/dev/lnd/lnd.conf:/root/.lnd/lnd.conf
- ${PWD}/dev/lnd/tls.key:/root/.lnd/tls.key
- ${PWD}/dev/lnd/tls.cert:/root/.lnd/tls.cert
depends_on: [bitcoind]