blob: 1f4f7451d5f662a2cb9067246ba8c5a476664acf [file] [log] [blame]
Zsolt Harasztif2da1d02016-09-13 23:21:35 -07001version: '2'
2services:
3 #
4 # Single-node consul agent
5 #
6 consul:
7 image: consul:latest
8 command: agent -server -bootstrap -client 0.0.0.0 -ui
9 ports:
10 - "8300:8300"
11 - "8400:8400"
12 - "8500:8500"
13 - "8600:53/udp"
14 #
15 # Registrator
16 #
17 registrator:
18 image: gliderlabs/registrator:latest
19 command: -ip=10.0.2.15 -retry-attempts 100 consul://consul:8500
20 links:
21 - consul
22 volumes:
23 - "/var/run/docker.sock:/tmp/docker.sock"
24 #
25 # Fluentd log server
26 #
27 fluentd:
28 image: fluent/fluentd
29 ports:
30 - "24224:24224"
31 volumes:
32 - "/tmp/fluentd:/fluentd/log"
33 #
34 # Single-node voltha
35 #
36 voltha:
37 image: cord/voltha
38 command: /voltha/main.py -v --consul=consul:8500 --fluentd=fluentd:24224
39 depends_on:
40 - consul
41 links:
42 - consul
43 - fluentd
44 #
45 # Test container to see services available
46 #
47 test:
48 image: busybox
49 command: tail -F /dev/null
50 depends_on:
51 - consul
52 - voltha
53 links:
54 - consul
55 - registrator
56 - fluentd
57 - voltha