forked from mobilecoinofficial/mobot
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
96 lines (89 loc) · 1.79 KB
/
docker-compose.yaml
File metadata and controls
96 lines (89 loc) · 1.79 KB
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
version: "3.8"
services:
db:
image: postgres
restart: always
volumes:
- db:/var/lib/postgresql/data
env_file:
- ./docker/env
expose:
- 5432
networks:
mobot:
ipv4_address: 10.200.0.5
signald:
image: mobilecoin/signald:0.12.0-mc.0.0.3-staging
volumes:
- signald:/signald
expose:
- 15432
ports:
- "15432:15432"
networks:
mobot:
ipv4_address: 10.200.0.6
full-service:
image: mobilecoin/full-service:v1.0.0-pre.5.testnet
volumes:
- full-service:/data
tty: true
command:
- --peer=mc://node1.test.mobilecoin.com/
- --peer=mc://node2.test.mobilecoin.com/
- --tx-source-url=https://s3-us-west-1.amazonaws.com/mobilecoin.chain/node1.test.mobilecoin.com/
- --tx-source-url=https://s3-us-west-1.amazonaws.com/mobilecoin.chain/node2.test.mobilecoin.com/
expose:
- 9090
ports:
- "9090:9090"
networks:
mobot:
ipv4_address: 10.200.0.7
admin:
restart: always
build:
context: .
dockerfile: ./Dockerfile
command: /usr/local/bin/admin_start.sh
env_file:
- ./docker/env
volumes:
- ./mobot:/app
- signald:/signald
depends_on:
- db
expose:
- 8000
networks:
mobot:
ipv4_address: 10.200.0.8
mobot-client:
restart: always
build:
context: .
dockerfile: ./Dockerfile
command: /usr/local/bin/mobot_client_start.sh
env_file:
- ./docker/env
volumes:
- ./mobot:/app
- signald:/signald
depends_on:
- db
- signald
- full-service
- admin
networks:
mobot:
ipv4_address: 10.200.0.9
volumes:
db:
signald:
full-service:
networks:
mobot:
ipam:
driver: default
config:
- subnet: 10.200.0.0/24