-
Notifications
You must be signed in to change notification settings - Fork 19
/
docker-compose.yml
57 lines (57 loc) · 1.13 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
version: "3.9"
services:
db:
networks:
lndhubx:
ipv4_address: 10.11.0.2
image: postgres:14.2
restart: always
environment:
POSTGRES_PASSWORD: changeme
healthcheck:
test: pg_isready -U postgres
api:
depends_on:
db:
condition: service_healthy
networks:
lndhubx:
ipv4_address: 10.11.0.3
build:
context: .
dockerfile: api.Dockerfile
image: kolliderhq/lndhubx-api:v1.0.0
ports:
- "8080:8080"
bank:
depends_on:
db:
condition: service_healthy
networks:
lndhubx:
ipv4_address: 10.11.0.4
build:
context: .
dockerfile: bank.Dockerfile
image: kolliderhq/lndhubx-bank:v1.0.0
volumes:
- ${PWD}/config:/config
environment:
RUST_BACKTRACE: full
dealer:
depends_on:
db:
condition: service_healthy
networks:
lndhubx:
ipv4_address: 10.11.0.5
build:
context: .
dockerfile: dealer.Dockerfile
image: kolliderhq/lndhubx-dealer:v1.0.0
networks:
lndhubx:
name: lndhubx
ipam:
config:
- subnet: 10.11.0.0/16