fkrzywka | cbf9e25 | 2018-06-05 12:17:31 +0200 | [diff] [blame] | 1 | version: "2" |
| 2 | services: |
| 3 | zookeeper: |
| 4 | image: wurstmeister/zookeeper |
| 5 | ports: |
| 6 | - "2181:2181" |
| 7 | kafka: |
| 8 | image: wurstmeister/kafka |
| 9 | ports: |
| 10 | - "9092:9092" |
| 11 | environment: |
| 12 | HOSTNAME_COMMAND: "route -n | awk '/UG[ \t]/{print $$2}'" |
| 13 | KAFKA_AUTO_CREATE_TOPICS_ENABLE: 'true' |
| 14 | KAFKA_ZOOKEEPER_CONNECT: zookeeper:2181 |
| 15 | volumes: |
| 16 | - /var/run/docker.sock:/var/run/docker.sock |
| 17 | depends_on: |
| 18 | - zookeeper |
| 19 | hv-collector: |
| 20 | build: |
| 21 | context: hv-collector-main |
| 22 | dockerfile: Dockerfile |
| 23 | ports: |
Jakub Dudycz | 8543949 | 2018-06-08 12:57:13 +0200 | [diff] [blame^] | 24 | - "6061:6061/tcp" |
fkrzywka | cbf9e25 | 2018-06-05 12:17:31 +0200 | [diff] [blame] | 25 | depends_on: |
| 26 | - kafka |
Jakub Dudycz | 8543949 | 2018-06-08 12:57:13 +0200 | [diff] [blame^] | 27 | volumes: |
| 28 | - /etc/ves-hv/:/etc/ves-hv/ |
fkrzywka | cbf9e25 | 2018-06-05 12:17:31 +0200 | [diff] [blame] | 29 | xnf-simulator: |
| 30 | build: |
| 31 | context: hv-collector-client-simulator |
Jakub Dudycz | 8543949 | 2018-06-08 12:57:13 +0200 | [diff] [blame^] | 32 | dockerfile: Dockerfile |
| 33 | depends_on: |
| 34 | - hv-collector |
| 35 | volumes: |
| 36 | - /etc/ves-hv/:/etc/ves-hv/ |