Piotr Jaszczyk | 5e93c1e | 2018-08-14 12:52:28 +0200 | [diff] [blame] | 1 | version: "3.4" |
fkrzywka | cbf9e25 | 2018-06-05 12:17:31 +0200 | [diff] [blame] | 2 | services: |
| 3 | zookeeper: |
| 4 | image: wurstmeister/zookeeper |
| 5 | ports: |
| 6 | - "2181:2181" |
Piotr Jaszczyk | 6768940 | 2018-06-14 09:48:46 +0200 | [diff] [blame] | 7 | |
fkrzywka | cbf9e25 | 2018-06-05 12:17:31 +0200 | [diff] [blame] | 8 | kafka: |
| 9 | image: wurstmeister/kafka |
| 10 | ports: |
| 11 | - "9092:9092" |
| 12 | environment: |
Piotr Jaszczyk | 7c3b595 | 2018-06-08 16:29:31 +0200 | [diff] [blame] | 13 | KAFKA_ADVERTISED_HOST_NAME: "kafka" |
fkrzywka | cbf9e25 | 2018-06-05 12:17:31 +0200 | [diff] [blame] | 14 | KAFKA_AUTO_CREATE_TOPICS_ENABLE: 'true' |
Piotr Jaszczyk | 7c3b595 | 2018-06-08 16:29:31 +0200 | [diff] [blame] | 15 | KAFKA_ZOOKEEPER_CONNECT: "zookeeper:2181" |
| 16 | KAFKA_ADVERTISED_LISTENERS: "PLAINTEXT://kafka:9092" |
fkrzywka | cbf9e25 | 2018-06-05 12:17:31 +0200 | [diff] [blame] | 17 | volumes: |
| 18 | - /var/run/docker.sock:/var/run/docker.sock |
| 19 | depends_on: |
| 20 | - zookeeper |
Piotr Jaszczyk | 6768940 | 2018-06-14 09:48:46 +0200 | [diff] [blame] | 21 | |
Jakub Dudycz | 553154a | 2018-06-15 16:09:41 +0200 | [diff] [blame] | 22 | consul: |
| 23 | image: progrium/consul |
| 24 | ports: |
| 25 | - "8500:8500" |
| 26 | environment: |
| 27 | - CONSUL_BIND_INTERFACE=eth0 |
| 28 | command: ["-server", "-bootstrap", "-ui-dir", "/ui"] |
| 29 | |
Piotr Jaszczyk | 6768940 | 2018-06-14 09:48:46 +0200 | [diff] [blame] | 30 | ves-hv-collector: |
Piotr Jaszczyk | d6f5bfa | 2018-08-29 13:24:59 +0200 | [diff] [blame^] | 31 | image: onap/org.onap.dcaegen2.collectors.hv-ves.hv-collector-main:latest |
Piotr Jaszczyk | 6768940 | 2018-06-14 09:48:46 +0200 | [diff] [blame] | 32 | # build: |
| 33 | # context: hv-collector-main |
| 34 | # dockerfile: Dockerfile |
fkrzywka | cbf9e25 | 2018-06-05 12:17:31 +0200 | [diff] [blame] | 35 | ports: |
Jakub Dudycz | dd827e2 | 2018-08-07 14:18:37 +0200 | [diff] [blame] | 36 | - "6060:6060" |
Jakub Dudycz | 8543949 | 2018-06-08 12:57:13 +0200 | [diff] [blame] | 37 | - "6061:6061/tcp" |
Piotr Jaszczyk | 5e93c1e | 2018-08-14 12:52:28 +0200 | [diff] [blame] | 38 | command: ["--listen-port", "6061", |
| 39 | "--health-check-api-port", "6060", |
| 40 | "--config-url", "http://consul:8500/v1/kv/veshv-config"] |
| 41 | healthcheck: |
| 42 | test: curl -f http://localhost:6060/health/ready || exit 1 |
| 43 | interval: 10s |
| 44 | timeout: 3s |
| 45 | retries: 3 |
| 46 | start_period: 20s |
fkrzywka | cbf9e25 | 2018-06-05 12:17:31 +0200 | [diff] [blame] | 47 | depends_on: |
| 48 | - kafka |
Jakub Dudycz | 553154a | 2018-06-15 16:09:41 +0200 | [diff] [blame] | 49 | - consul |
Jakub Dudycz | 8543949 | 2018-06-08 12:57:13 +0200 | [diff] [blame] | 50 | volumes: |
Piotr Jaszczyk | 07bbbf7 | 2018-06-07 11:52:16 +0200 | [diff] [blame] | 51 | - ./ssl/:/etc/ves-hv/ |
Piotr Jaszczyk | 6768940 | 2018-06-14 09:48:46 +0200 | [diff] [blame] | 52 | |
| 53 | xnf-simulator: |
Piotr Jaszczyk | d6f5bfa | 2018-08-29 13:24:59 +0200 | [diff] [blame^] | 54 | image: onap/org.onap.dcaegen2.collectors.hv-ves.hv-collector-xnf-simulator |
Piotr Jaszczyk | 6768940 | 2018-06-14 09:48:46 +0200 | [diff] [blame] | 55 | # build: |
Jakub Dudycz | 1383775 | 2018-07-09 08:06:01 +0200 | [diff] [blame] | 56 | # context: hv-collector-xnf-simulator |
Piotr Jaszczyk | 6768940 | 2018-06-14 09:48:46 +0200 | [diff] [blame] | 57 | # dockerfile: Dockerfile |
| 58 | ports: |
Jakub Dudycz | fc6ab3e | 2018-07-24 11:48:12 +0200 | [diff] [blame] | 59 | - "6062:6062/tcp" |
| 60 | command: ["--listen-port", "6062", "--ves-host", "ves-hv-collector", "--ves-port", "6061"] |
Jakub Dudycz | 8543949 | 2018-06-08 12:57:13 +0200 | [diff] [blame] | 61 | depends_on: |
Piotr Jaszczyk | 6768940 | 2018-06-14 09:48:46 +0200 | [diff] [blame] | 62 | - ves-hv-collector |
Jakub Dudycz | 8543949 | 2018-06-08 12:57:13 +0200 | [diff] [blame] | 63 | volumes: |
Piotr Jaszczyk | 94eeb73 | 2018-06-12 14:19:10 +0200 | [diff] [blame] | 64 | - ./ssl/:/etc/ves-hv/ |
Piotr Jaszczyk | 6768940 | 2018-06-14 09:48:46 +0200 | [diff] [blame] | 65 | |
Piotr Jaszczyk | 94eeb73 | 2018-06-12 14:19:10 +0200 | [diff] [blame] | 66 | dcae-app-simulator: |
Piotr Jaszczyk | d6f5bfa | 2018-08-29 13:24:59 +0200 | [diff] [blame^] | 67 | image: onap/org.onap.dcaegen2.collectors.hv-ves.hv-collector-dcae-app-simulator |
Piotr Jaszczyk | 6768940 | 2018-06-14 09:48:46 +0200 | [diff] [blame] | 68 | # build: |
| 69 | # context: hv-collector-dcae-app-simulator |
| 70 | # dockerfile: Dockerfile |
Piotr Jaszczyk | 94eeb73 | 2018-06-12 14:19:10 +0200 | [diff] [blame] | 71 | ports: |
Jakub Dudycz | fc6ab3e | 2018-07-24 11:48:12 +0200 | [diff] [blame] | 72 | - "6063:6063/tcp" |
| 73 | command: ["--listen-port", "6063", "--kafka-bootstrap-servers", "kafka:9092", "--kafka-topics", "ves_hvRanMeas"] |
Piotr Jaszczyk | 94eeb73 | 2018-06-12 14:19:10 +0200 | [diff] [blame] | 74 | depends_on: |
| 75 | - kafka |