forked from GaloyMoney/blink
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
97 lines (97 loc) · 2.71 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
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.43.0
command: ["--config=/etc/otel-agent-config.yaml"]
environment:
- HONEYCOMB_DATASET=${HONEYCOMB_DATASET}
- HONEYCOMB_API_KEY=${HONEYCOMB_API_KEY}
volumes:
- ./dev/otel-agent-config.yaml:/etc/otel-agent-config.yaml
price:
image: us.gcr.io/galoy-org/price:edge
redis:
image: bitnami/redis:6.2
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
environment:
- MONGODB_PASSWORD=password
- MONGODB_USERNAME=testGaloy
- MONGODB_DATABASE=galoy
- MONGODB_REPLICA_SET_MODE=primary
- MONGODB_ROOT_PASSWORD=password
- MONGODB_REPLICA_SET_KEY=replicasetkey
bitcoind:
image: lncm/bitcoind:v22.0
volumes:
- ${PWD}/dev/bitcoind/bitcoin.conf:/data/.bitcoin/bitcoin.conf
lnd1:
image: lightninglabs/lnd:v0.14.2-beta
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.2-beta
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.2-beta
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.2-beta
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]
e2e-tests:
image: us.gcr.io/galoy-org/galoy-app-pipeline
depends_on:
- integration-deps
command: ["make","execute-e2e-from-within-container"]
working_dir: /repo
env_file:
- ${TMP_ENV_CI:-.env.ci}
volumes:
- ./:/repo
integration-tests:
image: us.gcr.io/galoy-org/galoy-app-pipeline
depends_on:
- integration-deps
command: ["make","execute-integration-from-within-container"]
working_dir: /repo
env_file:
- ${TMP_ENV_CI:-.env.ci}
volumes:
- ./:/repo