From 5c2db90d4a43a03144123a42e3a36f384342d2f7 Mon Sep 17 00:00:00 2001 From: Edward Wilde Date: Tue, 18 Apr 2017 19:22:56 +0100 Subject: [PATCH] review feedback: added linebreaks, rename docker-compose --- consul/README.md | 2 +- consul/{docker-compose.yaml => docker-compose.yml} | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) rename consul/{docker-compose.yaml => docker-compose.yml} (99%) 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']