Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
version: '2'
services:
roach-ui:
image: cockroachdb/cockroach:beta-20161215
command: start --insecure
ports:
- 8080:8080
networks:
- roachnet
volumes:
- ./data/roach-ui:/cockroach/cockroach-data
roach-one:
image: cockroachdb/cockroach:beta-20161215
command: start --insecure --join=roach-ui
networks:
- roachnet
volumes:
- ./data/roach-one:/cockroach/cockroach-data
roach-two:
image: cockroachdb/cockroach:beta-20161215
command: start --insecure --join=roach-ui
networks:
- roachnet
volumes:
- ./data/roach-two:/cockroach/cockroach-data
roach-three:
image: cockroachdb/cockroach:beta-20161215
command: start --insecure --join=roach-ui
networks:
- roachnet
volumes:
- ./data/roach-three:/cockroach/cockroach-data
roach-four:
image: cockroachdb/cockroach:beta-20161215
command: start --insecure --join=roach-ui
networks:
- roachnet
volumes:
- ./data/roach-four:/cockroach/cockroach-data
networks:
roachnet:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment