Created
October 28, 2015 19:19
-
-
Save stabenfeldt/0e39c2ce50534e7f1db0 to your computer and use it in GitHub Desktop.
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
harvester_webservice: | |
build: | |
image: stabenfeldt/harvester_webservice | |
dockerfile_path: Dockerfile | |
links: | |
- mongo1 | |
- elasticsearch | |
mongo3: | |
hostname: mongo3 | |
image: mongo:3.0.6 | |
entrypoint: [ "/usr/bin/mongod", "--replSet", "rs", "--journal", "--smallfiles", "--rest" ] | |
ports: | |
- "27018:27017" | |
- "28018:28017" | |
restart: always | |
mongo2: | |
hostname: mongo2 | |
image: mongo:3.0.6 | |
entrypoint: [ "/usr/bin/mongod", "--replSet", "rs", "--journal", "--smallfiles", "--rest" ] | |
ports: | |
- "27019:27017" | |
- "28019:28017" | |
restart: always | |
mongo1: | |
hostname: mongo1 | |
image: mongo:3.0.6 | |
entrypoint: [ "/usr/bin/mongod", "--replSet", "rs", "--journal", "--smallfiles", "--rest" ] | |
ports: | |
- "27017:27017" | |
- "28017:28017" | |
links: | |
- mongo2 | |
- mongo3 | |
restart: always | |
elasticsearch: | |
hostname: elasticsearch | |
image: stabenfeldt/elasticsearch-marvel | |
ports: | |
- "9200:9200" | |
- "9300:9300" | |
links: | |
- mongo1 | |
- mongo2 | |
- mongo3 | |
volumes: | |
- ./elasticsearch/logging.yml:/etc/elasticsearch/logging.yml | |
restart: always | |
# This configures the MongoDB replicaset | |
mongosetup: | |
image: mongo:3.0.6 | |
links: | |
- mongo1 | |
- mongo2 | |
- mongo3 | |
volumes: | |
- ./scripts:/scripts | |
entrypoint: [ "/scripts/setup.sh" ] | |
# Make sure ES does not rellocate it's shards when it has low disk space. | |
disabledisktreshold: | |
image: mongo:3.0.6 | |
links: | |
- elasticsearch:elasticsearch | |
volumes: | |
- ./scripts:/scripts | |
entrypoint: [ "/scripts/disable-disk-treshold.sh" ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment