Last active
November 25, 2020 10:46
-
-
Save jbrisbin/51b5f40616bf3265f250d5fd2e707810 to your computer and use it in GitHub Desktop.
Example docker-compose files for Riak KV and TS
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: | |
coordinator: | |
image: basho/riak-kv | |
ports: | |
- "8087" | |
- "8098" | |
environment: | |
- CLUSTER_NAME=riakkv | |
labels: | |
- "com.basho.riak.cluster.name=riak-kv" | |
volumes: | |
- schemas:/etc/riak/schemas | |
network_mode: bridge | |
member: | |
image: basho/riak-kv | |
ports: | |
- "8087" | |
- "8098" | |
labels: | |
- "com.basho.riak.cluster.name=riak-kv" | |
links: | |
- coordinator | |
network_mode: bridge | |
depends_on: | |
- coordinator | |
environment: | |
- CLUSTER_NAME=riakkv | |
- COORDINATOR_NODE=coordinator | |
volumes: | |
schemas: {} |
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: | |
coordinator: | |
image: basho/riak-ts | |
ports: | |
- "8087" | |
- "8098" | |
environment: | |
- CLUSTER_NAME=riakts | |
labels: | |
- "com.basho.riak.cluster.name=riak-ts" | |
volumes: | |
- schemas:/etc/riak/schemas | |
network_mode: bridge | |
member: | |
image: basho/riak-ts | |
ports: | |
- "8087" | |
- "8098" | |
labels: | |
- "com.basho.riak.cluster.name=riak-ts" | |
links: | |
- coordinator | |
network_mode: bridge | |
depends_on: | |
- coordinator | |
environment: | |
- CLUSTER_NAME=riakts | |
- COORDINATOR_NODE=coordinator | |
volumes: | |
schemas: {} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment