Last active
April 28, 2018 19:32
-
-
Save amastracci/6124371663caffc16563353e28dd53dd to your computer and use it in GitHub Desktop.
This file contains 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: | |
swarm01: | |
image: bluzelle/swarmdb:alpha | |
ports: | |
- "51010:51010" | |
environment: | |
SWARM_UUID: "92b8bac6-3242-452a-9090-1aa48afd71a3" | |
SWARM_NAME: "swarm01" | |
SWARM_PORT: "51010" | |
SWARM_BOOTSTRAP_URL: "http://pastebin.com/raw/A2BmSuLF" | |
expose: | |
- "51010" | |
networks: | |
- swarmnet | |
volumes: | |
- /tmp:/tmp/swarm_home | |
swarm02: | |
image: bluzelle/swarmdb:alpha | |
ports: | |
- "51011:51011" | |
environment: | |
SWARM_UUID: "c864516b-3c95-4721-ad3e-a8dccd0d8349" | |
SWARM_NAME: "swarm02" | |
SWARM_PORT: "51011" | |
SWARM_BOOTSTRAP_URL: "http://pastebin.com/raw/A2BmSuLF" | |
expose: | |
- "51011" | |
networks: | |
- swarmnet | |
volumes: | |
- /tmp:/tmp/swarm_home | |
swarm03: | |
image: bluzelle/swarmdb:alpha | |
ports: | |
- "51012:51012" | |
environment: | |
SWARM_UUID: "137a8403-52ec-43b7-8083-91391d4c5e67" | |
SWARM_NAME: "swarm03" | |
SWARM_PORT: "51012" | |
SWARM_BOOTSTRAP_URL: "http://pastebin.com/raw/A2BmSuLF" | |
expose: | |
- "51012" | |
networks: | |
- swarmnet | |
volumes: | |
- /tmp:/tmp/swarm_home | |
networks: | |
swarmnet: | |
driver: bridge |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment