forked from NationalSecurityAgency/emissary
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
39 lines (35 loc) · 866 Bytes
/
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
version: '2'
services:
emissary-worker-1:
image: emissary
command: server -a 2 -m cluster -p 8001
ports:
- "8001:8001"
network_mode: host
volumes:
- input:/opt/emissary/target/data
- output-1:/opt/emissary/localoutput
emissary-worker-2:
image: emissary
command: server -a 2 -m cluster -p 9001
ports:
- "9001:9001"
network_mode: host
volumes:
- input:/opt/emissary/target/data
- output-2:/opt/emissary/localoutput
emissary-feeder:
image: emissary
command: feed -p 7001 -i /opt/emissary/target/data/InputData --eatPrefix /opt/emissary/target/data/InputData
ports:
- "7001:7001"
network_mode: host
depends_on:
- emissary-worker-1
- emissary-worker-2
volumes:
- input:/opt/emissary/target/data
volumes:
input:
output-1:
output-2: