blob: 2adc46b0cec15f35d0d91d852b00ded5cfd6b0d1 [file] [log] [blame]
alshabib7941d402016-11-08 00:11:20 +01001services:
2 cord/voltha:
3 slaves: ["chameleon", "ofagent"]
4
5
6slaves:
7 chameleon:
8 image: cord/chameleon
9 command: [
10 "/chameleon/main.py",
11 "-v",
12 "--consul=consul:8500",
13 "--fluentd=fluentd:24224",
14 "--rest-port=8881",
15 "--grpc-endpoint=@voltha-grpc",
16 "--instance-id-is-container-name",
17 "-v"
18 ]
19 ports:
20 - 8881
21 depends_on:
22 - consul
23 - voltha
24 links:
25 - consul
26 - fluentd
27 environment:
28 SERVICE_8881_NAME: "chameleon-rest"
29 volumes:
30 - "/var/run/docker.sock:/tmp/docker.sock"
31
32 ofagent:
33 image: cord/ofagent
34 command: [
35 "/ofagent/main.py",
36 "-v",
37 "--consul=${DOCKER_HOST_IP}:8500",
38 "--fluentd=fluentd:24224",
39 "--controller=${DOCKER_HOST_IP}:6633",
40 "--grpc-endpoint=@voltha-grpc",
41 "--instance-id-is-container-name",
42 "-v"
43 ]
44 depends_on:
45 - consul
46 - voltha
47 links:
48 - consul
49 - fluentd
50 volumes:
51 - "/var/run/docker.sock:/tmp/docker.sock"