Created
March 16, 2017 21:46
-
-
Save celaus/2425f92629553a1957427cc61d980133 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: '3' | |
services: | |
cratedb: | |
image: "crate/crate:testing" # :1.0.5 | |
environment: | |
- CRATE_HEAP_SIZE=3g | |
command: ["crate", "-Cgateway.expected_nodes=3", "-Cgateway.recover_after_nodes=2", "-Cdiscovery.zen.minimum_master_nodes=2", "-Cdiscovery.zen.ping.multicast.enabled=false", "-Cdiscovery.zen.ping.unicast.hosts=cratedb", "-Cnetwork.bind=_eth0_", "-Ccluster.name=NYC"] | |
networks: | |
- cratedb_network | |
- client_network | |
volumes: | |
- /srv/data/crate:/data | |
deploy: | |
mode: global | |
placement: | |
constraints: | |
- node.role == manager | |
granafa: | |
image: "grafana/grafana:latest" | |
ports: | |
- "3000:3000" | |
networks: | |
- client_network | |
environment: | |
- GF_INSTALL_PLUGINS=crate-datasource | |
volumes: | |
- /tmp:/var/log/grafana | |
deploy: | |
mode: replicated | |
placement: | |
constraints: | |
- node.role == manager | |
eden_server: | |
image: "clma/eden-server:stable" | |
depends_on: | |
- cratedb | |
networks: | |
- client_network | |
ports: | |
- "6200:6200" | |
volumes: | |
- /srv/apps/eden/config.toml:/eden/config.toml | |
deploy: | |
mode: global | |
placement: | |
constraints: | |
- node.role == manager | |
# eden_client: | |
# image: "clma/eden:arm" | |
# depends_on: | |
# - eden_server | |
# volumes: | |
# - /srv/apps/eden/config.toml:/eden/config.toml | |
# - "/dev/i2c-1:/dev/i2c-1" | |
# deploy: | |
# mode: global | |
# placement: | |
# constraints: | |
# - node.role == worker | |
networks: | |
cratedb_network: | |
client_network: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment