-
Notifications
You must be signed in to change notification settings - Fork 3
/
docker-compose.yaml
52 lines (50 loc) · 1.03 KB
/
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
48
49
50
51
52
version: "3"
services:
alpha:
build:
context: .
dockerfile: ./Dockerfile
args:
GIT_REVISION: ${GIT_REVISION}
image: bbengfort/raft
init: true
ports:
- 3264:3264
volumes:
- ./fixtures/example:/etc/raft
environment:
- RAFT_NAME=alpha
- RAFT_SEED=53
- RAFT_CONFIG=/etc/raft/config.json
bravo:
build:
context: .
dockerfile: ./Dockerfile
args:
GIT_REVISION: ${GIT_REVISION}
image: bbengfort/raft
init: true
ports:
- 3265:3265
volumes:
- ./fixtures/example:/etc/raft
environment:
- RAFT_NAME=bravo
- RAFT_SEED=54
- RAFT_CONFIG=/etc/raft/config.json
charlie:
build:
context: .
dockerfile: ./Dockerfile
args:
GIT_REVISION: ${GIT_REVISION}
image: bbengfort/raft
init: true
ports:
- 3266:3266
volumes:
- ./fixtures/example:/etc/raft
environment:
- RAFT_NAME=charlie
- RAFT_SEED=55
- RAFT_CONFIG=/etc/raft/config.json