README.md in percheron-0.7.14 vs README.md in percheron-0.7.15
- old
+ new
@@ -121,31 +121,34 @@
- name: consul-stack
description: A demo consul stack with one master and two agents
units:
- name: master
version: 1.0.0
- docker_image: progrium/consul:latest
- start_args: "-server -bootstrap -ui-dir /ui"
+ docker_image: gliderlabs/consul-server:0.5
+ start_args: [ "-bootstrap", "-client", "0.0.0.0", "-data-dir", "/data", "-ui-dir", "/ui" ]
ports:
- 8500:8500
- 8600:53/udp
- name: agent
version: 1.0.0
instances: 2
- docker_image: progrium/consul:latest
- start_args: "-server -join master"
- dependant_unit_names:
+ docker_image: gliderlabs/consul-agent:0.5
+ start_args: [ "-join", "master" ]
+ dependent_unit_names:
- master
```
4) Start it up!
```bash
percheron start consul-stack
-I, [2015-05-21T19:25:05.975964 #35449] INFO -- : Starting 'master' unit
-I, [2015-05-21T19:25:06.676782 #35449] INFO -- : Starting 'agent1' unit
-I, [2015-05-21T19:25:07.167997 #35449] INFO -- : Starting 'agent2' unit
+I, [2015-08-06T22:36:46.536424 #45026] INFO -- : Creating 'consul-stack:master' unit
+I, [2015-08-06T22:36:46.851682 #45026] INFO -- : Starting 'consul-stack:master' unit
+I, [2015-08-06T22:36:47.861800 #45026] INFO -- : Creating 'consul-stack:agent1' unit
+I, [2015-08-06T22:36:48.221852 #45026] INFO -- : Starting 'consul-stack:agent1' unit
+I, [2015-08-06T22:36:48.929909 #45026] INFO -- : Creating 'consul-stack:agent2' unit
+I, [2015-08-06T22:36:49.378310 #45026] INFO -- : Starting 'consul-stack:agent2' unit
```
5) Show the status
```bash