-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.debug.yaml
55 lines (55 loc) · 1.11 KB
/
docker-compose.debug.yaml
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
version: '3.5'
# have not configed network yet... in the future there will only
# be one scaled service with dynamic port assignment.
services:
mike:
container_name: mike
image: mike_node
environment:
- APP_NODE=bravo
- FILE_NAME=alpha,nodeBravo,nodeCharlie,nodeDelta
- CONTAINER_IP=godbless_DL3N_DNS
depends_on:
- alpha
- bravo
alpha:
container_name: alpha
image: chord_node
ports:
- 9000
environment:
- NODE_ID=alpha
- PEER_HOSTNAME=
bravo:
container_name: nodeBravo
image: chord_node
ports:
- 9000
environment:
- NODE_ID=nodeBravo
- PEER_HOSTNAME=alpha
restart: "no"
depends_on:
- alpha
charlie:
container_name: nodeCharlie
image: chord_node
ports:
- 9000
environment:
- NODE_ID=nodeCharlie
- PEER_HOSTNAME=alpha
restart: "no"
depends_on:
- bravo
delta:
container_name: nodeDelta
image: chord_node
ports:
- 9000
environment:
- NODE_ID=nodeDelta
- PEER_HOSTNAME=alpha
restart: "no"
depends_on:
- bravo