Missed file added
diff --git a/compose/docker-compose-system-test.yml b/compose/docker-compose-system-test.yml
index 1f4f745..d06aea3 100644
--- a/compose/docker-compose-system-test.yml
+++ b/compose/docker-compose-system-test.yml
@@ -11,12 +11,17 @@
- "8400:8400"
- "8500:8500"
- "8600:53/udp"
+ environment:
+ SERVICE_53_IGNORE: "yes"
+ SERVICE_8300_IGNORE: "yes"
+ SERVICE_8400_IGNORE: "yes"
+ SERVICE_8500_NAME: "consul-rest"
#
# Registrator
#
registrator:
image: gliderlabs/registrator:latest
- command: -ip=10.0.2.15 -retry-attempts 100 consul://consul:8500
+ command: -ip=10.0.2.15 -retry-attempts 100 -internal consul://consul:8500
links:
- consul
volumes:
@@ -35,12 +40,25 @@
#
voltha:
image: cord/voltha
- command: /voltha/main.py -v --consul=consul:8500 --fluentd=fluentd:24224
+ command: [
+ "/voltha/main.py",
+ "-v",
+ "--consul=consul:8500",
+ "--fluentd=fluentd:24224",
+ "--rest-port=8880"
+ ]
+ ports:
+ - 8880
depends_on:
- consul
links:
- consul
- fluentd
+ environment:
+ SERVICE_8880_NAME: "voltha-rest"
+ SERVICE_8880_CHECK_HTTP: "/health"
+ SERVICE_8880_CHECK_INTERVAL: "5s"
+ SERVICE_8880_CHECK_TIMEOUT: "1s"
#
# Test container to see services available
#