diff options
-rw-r--r-- | heat/docker-compose-4.yaml | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/heat/docker-compose-4.yaml b/heat/docker-compose-4.yaml index 0bfa0e5..c8c36ca 100644 --- a/heat/docker-compose-4.yaml +++ b/heat/docker-compose-4.yaml @@ -54,6 +54,8 @@ services: ports: - "162:162/udp" labels: - - SERVICE_NAME=static-dcaegen2-collectors-snmptrap - - SERVICE_CHECK_INITIAL_STATUS=passing + - "SERVICE_NAME=static-dcaegen2-collectors-snmptrap" + - "SERVICE_CHECK_DOCKER_SCRIPT=/opt/app/snmptrap/bin/healthcheck.sh" + - "SERVICE_CHECK_INTERVAL=15s" + - "SERVICE_CHECK_INITIAL_STATUS=passing" |