diff options
author | Filip Krzywka <filip.krzywka@nokia.com> | 2019-01-08 07:53:25 +0100 |
---|---|---|
committer | Filip Krzywka <filip.krzywka@nokia.com> | 2019-01-08 12:11:26 +0100 |
commit | 5180f3f32a2cdd35206f728e0fd7dd6ad62b567a (patch) | |
tree | 3929c3327086a1d9381994e6572b43200519ca20 /development/docker-compose.yml | |
parent | 8b4e282df3863042c69dae60460ec2397e12562e (diff) |
Merge Healthcheck descriptions
- start new API server for healthchecks in xNF simulator on port 6063
- changed DCAE App default port to 6064
- switched to InetSocketAddresses usage in components configurations
Change-Id: I398f9ea6e887f78d88286ed717d310d3297b1571
Issue-ID: DCAEGEN2-1063
Signed-off-by: Filip Krzywka <filip.krzywka@nokia.com>
Diffstat (limited to 'development/docker-compose.yml')
-rw-r--r-- | development/docker-compose.yml | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/development/docker-compose.yml b/development/docker-compose.yml index adf8947d..8b5854ca 100644 --- a/development/docker-compose.yml +++ b/development/docker-compose.yml @@ -91,12 +91,20 @@ services: image: onap/org.onap.dcaegen2.collectors.hv-ves.hv-collector-xnf-simulator ports: - "6062:6062/tcp" + - "6063:6063" command: ["--listen-port", "6062", + "--health-check-api-port", "6063", "--ves-host", "ves-hv-collector", "--ves-port", "6061", "--key-store", "/etc/ves-hv/client.p12", "--key-store-password", "onaponap", "--trust-store-password", "onaponap"] + healthcheck: + test: curl -f http://localhost:6063/health/ready || exit 1 + interval: 10s + timeout: 3s + retries: 3 + start_period: 10s depends_on: - ves-hv-collector volumes: @@ -105,8 +113,8 @@ services: dcae-app-simulator: image: onap/org.onap.dcaegen2.collectors.hv-ves.hv-collector-dcae-app-simulator ports: - - "6063:6063/tcp" - command: ["--listen-port", "6063", + - "6064:6064/tcp" + command: ["--listen-port", "6064", "--kafka-bootstrap-servers", "message-router-kafka:9092", "--kafka-topics", "HV_VES_PERF3GPP"] depends_on: |