Skip to content

Instantly share code, notes, and snippets.

@thebennos
Forked from ianneub/crate.yml
Last active December 19, 2015 00:12
Show Gist options
  • Select an option

  • Save thebennos/036f6a545467da323a9b to your computer and use it in GitHub Desktop.

Select an option

Save thebennos/036f6a545467da323a9b to your computer and use it in GitHub Desktop.

Revisions

  1. thebennos revised this gist Dec 19, 2015. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion crate.yml
    Original file line number Diff line number Diff line change
    @@ -4,7 +4,7 @@ crate:
    environment:
    - CREATE_HEAP_SIZE=1g
    ports:
    - '4200:32333'
    - '32333:4200'
    command: >
    crate
    -Des.cluster.name=mynewcluster
  2. thebennos revised this gist Dec 19, 2015. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions crate.yml
    Original file line number Diff line number Diff line change
    @@ -11,5 +11,5 @@ crate:
    -Des.network.publish_host=_ethwe:ipv4_
    -Des.network.bind_host=0.0.0.0
    -Des.discovery.zen.minimum_master_nodes=2
    -gateway.expected_nodes=5
    -gateway.recover_after_nodes=3
    -Des.gateway.expected_nodes=5
    -Des.gateway.recover_after_nodes=3
  3. thebennos revised this gist Dec 19, 2015. 1 changed file with 2 additions and 12 deletions.
    14 changes: 2 additions & 12 deletions crate.yml
    Original file line number Diff line number Diff line change
    @@ -1,20 +1,10 @@
    proxy:
    image: tutum/haproxy
    environment:
    - BACKEND_PORT=4200
    ports:
    - "4200:80"
    links:
    - crate
    roles:
    - global

    crate:
    image: 'crate:latest'
    deployment_strategy: high_availability
    target_num_containers: 3
    environment:
    - CREATE_HEAP_SIZE=1g
    ports:
    - '4200:32333'
    command: >
    crate
    -Des.cluster.name=mynewcluster
  4. thebennos revised this gist Dec 19, 2015. 1 changed file with 2 additions and 0 deletions.
    2 changes: 2 additions & 0 deletions crate.yml
    Original file line number Diff line number Diff line change
    @@ -21,3 +21,5 @@ crate:
    -Des.network.publish_host=_ethwe:ipv4_
    -Des.network.bind_host=0.0.0.0
    -Des.discovery.zen.minimum_master_nodes=2
    -gateway.expected_nodes=5
    -gateway.recover_after_nodes=3
  5. @ianneub ianneub created this gist Apr 30, 2015.
    23 changes: 23 additions & 0 deletions crate.yml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,23 @@
    proxy:
    image: tutum/haproxy
    environment:
    - BACKEND_PORT=4200
    ports:
    - "4200:80"
    links:
    - crate
    roles:
    - global

    crate:
    image: 'crate:latest'
    deployment_strategy: high_availability
    target_num_containers: 3
    environment:
    - CREATE_HEAP_SIZE=1g
    command: >
    crate
    -Des.cluster.name=mynewcluster
    -Des.network.publish_host=_ethwe:ipv4_
    -Des.network.bind_host=0.0.0.0
    -Des.discovery.zen.minimum_master_nodes=2