Skip to content

Instantly share code, notes, and snippets.

@mikekamornikov
Created May 3, 2016 09:00
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mikekamornikov/665217913c2343d36a70f7ecb28b3c7b to your computer and use it in GitHub Desktop.
Save mikekamornikov/665217913c2343d36a70f7ecb28b3c7b to your computer and use it in GitHub Desktop.
FROM ibmcom/db2express-c
RUN su - db2inst1 -c "db2start"
version: '2'
services:
db:
build: ./DB2
environment:
LICENSE: accept
DB2INST1_PASSWORD: db2inst1
command: db2start
ports:
- "50000:50000"
container_name: db2
elasticsearch_master:
build: ./elasticsearch
command: elasticsearch -Des.cluster.name="sc_es_cluster" -Des.node.master=true -Des.node.location=us -Des.node.privacy=unrestricted -Des.node.action.disable_delete_all_indices=true -Des.node.index.auto_expand_replicas=false
ports:
- "9200:9200"
- "9300:9300"
container_name: elastic_us
elasticsearch:
build: ./elasticsearch
command: elasticsearch -Des.cluster.name="sc_es_cluster" -Des.node.master=false -Des.node.location=eu -Des.node.privacy=restricted -Des.node.action.disable_delete_all_indices=true -Des.node.index.auto_expand_replicas=false
links:
- elasticsearch_master
container_name: elastic_eu
FROM elasticsearch:1.4
RUN /usr/share/elasticsearch/bin/plugin -i mobz/elasticsearch-head
RUN /usr/share/elasticsearch/bin/plugin -i elasticsearch/elasticsearch-analysis-icu/2.4.3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment