diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2018-11-04 17:22:44 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2018-11-04 17:24:06 -0800 |
commit | 423c55ace7b00b911c7b8a6e53298bb77dff1ce9 (patch) | |
tree | d2cc40ac68c2dd670bd18eb9ef5a9087da27e256 /extra/docker/docker-compose.yml | |
parent | d70abdd82955feba4eecdda24ff6d95f703e0598 (diff) | |
download | fatcat-423c55ace7b00b911c7b8a6e53298bb77dff1ce9.tar.gz fatcat-423c55ace7b00b911c7b8a6e53298bb77dff1ce9.zip |
first draft docker-compose file and README
Diffstat (limited to 'extra/docker/docker-compose.yml')
-rw-r--r-- | extra/docker/docker-compose.yml | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/extra/docker/docker-compose.yml b/extra/docker/docker-compose.yml new file mode 100644 index 00000000..bfc2eb3e --- /dev/null +++ b/extra/docker/docker-compose.yml @@ -0,0 +1,29 @@ +version: '2' +services: + zookeeper: + image: wurstmeister/zookeeper + ports: + - "2181:2181" + kafka: + #image: wurstmeister/kafka:2.11-2.0.0 + image: wurstmeister/kafka:2.11-1.1.1 + ports: + - "9092:9092" + environment: + #HOSTNAME_COMMAND: "docker info | grep ^Name: | cut -d' ' -f 2" + KAFKA_BROKER_ID: 1 + KAFKA_ADVERTISED_HOST_NAME: 127.0.0.1 + KAFKA_ZOOKEEPER_CONNECT: zookeeper:2181 + KAFKA_CREATE_TOPICS: "fatcat-qa.changelog:1:1,fatcat-qa.release-updates:3:1:compact" + volumes: + - /var/run/docker.sock:/var/run/docker.sock + elasticsearch: + image: docker.elastic.co/elasticsearch/elasticsearch:6.4.2 + ports: + - "9200:9200" + - "9300:9300" + environment: + cluster.name: "docker-cluster" + bootstrap.memory_lock: "true" + discovery.type: "single-node" + ES_JAVA_OPTS: "-Xms512m -Xmx512m" |