Created
June 10, 2016 01:21
-
-
Save smebberson/f85e3969dd330435e55efa2ad2debbac to your computer and use it in GitHub Desktop.
Zero configuration Consul cluster
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '2' | |
services: | |
consul: | |
image: smebberson/alpine-consul | |
consului: | |
image: smebberson/alpine-consul-ui | |
ports: | |
- 8500:8500 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/with-contenv sh | |
dc up -d && dc scale consul=5 && dc logs |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment