feat(stacks): add CockroachDB stack template

This commit is contained in:
Anthony Lapenna
2017-11-02 12:00:40 +01:00
parent 0602a3a26e
commit 010036f4f8
2 changed files with 28 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
version: '3'
services:
roach1:
image: cockroachdb/cockroach:latest
command: "start --insecure"
deploy:
replicas: 1
ports:
- "8080"
roachN:
image: cockroachdb/cockroach:latest
command: "start --insecure --join=roach1,roachN"
deploy:
mode: global