diff options
author | Bogumil Zebek <bogumil.zebek@nokia.com> | 2021-04-19 12:03:25 +0200 |
---|---|---|
committer | Zebek Bogumil <bogumil.zebek@nokia.com> | 2021-04-21 08:12:46 +0200 |
commit | 9dde0643293fa5c06e845b2a8121486353e8e81c (patch) | |
tree | 1e07f076a7fa15d5fb295b44108a1b732ffa9257 /docker-compose.yml | |
parent | 7e2c97281cf40738ff471a49ca26f044d65f105c (diff) |
Add healthcheck endpoint1.0.1
Issue-ID: INT-1869
Signed-off-by: Zebek Bogumil <bogumil.zebek@nokia.com>
Change-Id: Icfc40347deca1dc21233e84732cbd0d7e97b5836
Diffstat (limited to 'docker-compose.yml')
-rw-r--r-- | docker-compose.yml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/docker-compose.yml b/docker-compose.yml index 6010f1a..f5551ce 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -16,6 +16,11 @@ services: KAFKA_SOURCE_TOPIC: config KAFKA_APPLICATION_ID: avcn-manager REST_CLIENT_PNFSIMULATOR_ENDPOINT: http://ves-client:5000/simulator/start + healthcheck: + test: [ "CMD", "curl", "-f", "http://localhost:9090/healthcheck" ] + interval: 5s + timeout: 5s + retries: 5 depends_on: - avcn-kafka |