fkrzywka | cbf9e25 | 2018-06-05 12:17:31 +0200 | [diff] [blame] | 1 | version: "2" |
| 2 | services: |
Piotr Jaszczyk | 6768940 | 2018-06-14 09:48:46 +0200 | [diff] [blame] | 3 | |
fkrzywka | cbf9e25 | 2018-06-05 12:17:31 +0200 | [diff] [blame] | 4 | zookeeper: |
| 5 | image: wurstmeister/zookeeper |
| 6 | ports: |
| 7 | - "2181:2181" |
Piotr Jaszczyk | 6768940 | 2018-06-14 09:48:46 +0200 | [diff] [blame] | 8 | |
fkrzywka | cbf9e25 | 2018-06-05 12:17:31 +0200 | [diff] [blame] | 9 | kafka: |
| 10 | image: wurstmeister/kafka |
| 11 | ports: |
| 12 | - "9092:9092" |
| 13 | environment: |
Piotr Jaszczyk | 7c3b595 | 2018-06-08 16:29:31 +0200 | [diff] [blame] | 14 | KAFKA_ADVERTISED_HOST_NAME: "kafka" |
fkrzywka | cbf9e25 | 2018-06-05 12:17:31 +0200 | [diff] [blame] | 15 | KAFKA_AUTO_CREATE_TOPICS_ENABLE: 'true' |
Piotr Jaszczyk | 7c3b595 | 2018-06-08 16:29:31 +0200 | [diff] [blame] | 16 | KAFKA_ZOOKEEPER_CONNECT: "zookeeper:2181" |
| 17 | KAFKA_ADVERTISED_LISTENERS: "PLAINTEXT://kafka:9092" |
fkrzywka | cbf9e25 | 2018-06-05 12:17:31 +0200 | [diff] [blame] | 18 | volumes: |
| 19 | - /var/run/docker.sock:/var/run/docker.sock |
| 20 | depends_on: |
| 21 | - zookeeper |
Piotr Jaszczyk | 6768940 | 2018-06-14 09:48:46 +0200 | [diff] [blame] | 22 | |
Jakub Dudycz | 553154a | 2018-06-15 16:09:41 +0200 | [diff] [blame] | 23 | consul: |
| 24 | image: progrium/consul |
| 25 | ports: |
| 26 | - "8500:8500" |
| 27 | environment: |
| 28 | - CONSUL_BIND_INTERFACE=eth0 |
| 29 | command: ["-server", "-bootstrap", "-ui-dir", "/ui"] |
| 30 | |
Piotr Jaszczyk | 6768940 | 2018-06-14 09:48:46 +0200 | [diff] [blame] | 31 | ves-hv-collector: |
| 32 | image: onap/ves-hv-collector |
| 33 | # build: |
| 34 | # context: hv-collector-main |
| 35 | # dockerfile: Dockerfile |
fkrzywka | cbf9e25 | 2018-06-05 12:17:31 +0200 | [diff] [blame] | 36 | ports: |
Jakub Dudycz | 8543949 | 2018-06-08 12:57:13 +0200 | [diff] [blame] | 37 | - "6061:6061/tcp" |
fkrzywka | cbf9e25 | 2018-06-05 12:17:31 +0200 | [diff] [blame] | 38 | depends_on: |
| 39 | - kafka |
Jakub Dudycz | 553154a | 2018-06-15 16:09:41 +0200 | [diff] [blame] | 40 | - consul |
Jakub Dudycz | 8543949 | 2018-06-08 12:57:13 +0200 | [diff] [blame] | 41 | volumes: |
Piotr Jaszczyk | 07bbbf7 | 2018-06-07 11:52:16 +0200 | [diff] [blame] | 42 | - ./ssl/:/etc/ves-hv/ |
Piotr Jaszczyk | 6768940 | 2018-06-14 09:48:46 +0200 | [diff] [blame] | 43 | |
| 44 | xnf-simulator: |
| 45 | image: onap/ves-hv-collector-client-simulator |
| 46 | # build: |
| 47 | # context: hv-collector-client-simulator |
| 48 | # dockerfile: Dockerfile |
| 49 | ports: |
| 50 | - "8000:5000/tcp" |
Jakub Dudycz | 8543949 | 2018-06-08 12:57:13 +0200 | [diff] [blame] | 51 | depends_on: |
Piotr Jaszczyk | 6768940 | 2018-06-14 09:48:46 +0200 | [diff] [blame] | 52 | - ves-hv-collector |
Jakub Dudycz | 8543949 | 2018-06-08 12:57:13 +0200 | [diff] [blame] | 53 | volumes: |
Piotr Jaszczyk | 94eeb73 | 2018-06-12 14:19:10 +0200 | [diff] [blame] | 54 | - ./ssl/:/etc/ves-hv/ |
Piotr Jaszczyk | 6768940 | 2018-06-14 09:48:46 +0200 | [diff] [blame] | 55 | |
Piotr Jaszczyk | 94eeb73 | 2018-06-12 14:19:10 +0200 | [diff] [blame] | 56 | dcae-app-simulator: |
Piotr Jaszczyk | 6768940 | 2018-06-14 09:48:46 +0200 | [diff] [blame] | 57 | image: onap/ves-hv-collector-dcae-simulator |
| 58 | # build: |
| 59 | # context: hv-collector-dcae-app-simulator |
| 60 | # dockerfile: Dockerfile |
Piotr Jaszczyk | 94eeb73 | 2018-06-12 14:19:10 +0200 | [diff] [blame] | 61 | ports: |
Piotr Jaszczyk | 6768940 | 2018-06-14 09:48:46 +0200 | [diff] [blame] | 62 | - "8100:5000/tcp" |
Piotr Jaszczyk | 94eeb73 | 2018-06-12 14:19:10 +0200 | [diff] [blame] | 63 | depends_on: |
| 64 | - kafka |