diff --git a/consul/README.md b/consul/README.md index 836ce1f6..0d3b4409 100644 --- a/consul/README.md +++ b/consul/README.md @@ -28,7 +28,7 @@ to automatically registers services with consul ## Startup -The [`docker-compose.yaml`](docker-compose.yaml) file that's included +The [`docker-compose.yml`](docker-compose.yml) file that's included in this directory is configured to run the demo. Start everything with: ```bash diff --git a/consul/docker-compose.yaml b/consul/docker-compose.yml similarity index 99% rename from consul/docker-compose.yaml rename to consul/docker-compose.yml index 671d6195..8b69f6b9 100644 --- a/consul/docker-compose.yaml +++ b/consul/docker-compose.yml @@ -4,6 +4,7 @@ services: image: "consul:0.8.0" ports: - "8500:8500" + service: image: buoyantio/helloworld command: ["-addr=:7777", "-text=Hello"] @@ -22,6 +23,7 @@ services: - 4140:4140 depends_on: - consul-registrator + consul-registrator: image: gliderlabs/registrator:v7 command: ['consul://consul:8500']