-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yaml
47 lines (43 loc) · 978 Bytes
/
docker-compose.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
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: sheikhshack/mike_node_tester
# environment:
# - APP_NODE=alpha
# stdin_open: true
# tty: true
alpha:
container_name: chord_alpha
build:
context: .
dockerfile: Dockerfile
ports:
- 9000
environment:
- PEER_HOSTNAME=
- SUCCESSOR_LIST_SIZE=3
- LOG=info
networks:
- chord-network
# TODO: @Lowen, would be good if this dockerfile also has the build and run command of your binaries
chord_member:
build:
context: .
dockerfile: Dockerfile
ports:
- 9000
environment:
- PEER_HOSTNAME=alpha
- SUCCESSOR_LIST_SIZE=3
- LOG=info
restart: "no"
depends_on:
- alpha
networks:
- chord-network
networks:
chord-network:
name: overlord-network