Created
January 6, 2016 23:26
-
-
Save mikeblum/bfbae2ee43b731b8ce36 to your computer and use it in GitHub Desktop.
docker-compose script for creating a distributed SolrCloud cluster on AWS ECS
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
zookeeper: | |
image: "987737556516.dkr.ecr.us-east-1.amazonaws.com/tsgrp/zookeeper" | |
cpu_shares: 100 | |
ports: | |
- "2181:2181" | |
container_name: "zookeeper" | |
hostname: "zookeeper" | |
solr1: | |
image: solr | |
cpu_shares: 100 | |
ports: | |
- "8983:8983" | |
container_name: solr1 | |
links: | |
- zookeeper:ZK | |
command: /opt/solr/bin/solr start -f -z zookeeper:2181 | |
solr2: | |
image: solr | |
cpu_shares: 100 | |
ports: | |
- "8984:8983" | |
container_name: solr2 | |
links: | |
- zookeeper:ZK | |
command: /opt/solr/bin/solr start -f -z zookeeper:2181 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment