Skip to content

Instantly share code, notes, and snippets.

@sergeytsivin
Created February 7, 2018 08:13
Show Gist options
  • Save sergeytsivin/c9e28947410ed0ec4e73413534a112b1 to your computer and use it in GitHub Desktop.
Save sergeytsivin/c9e28947410ed0ec4e73413534a112b1 to your computer and use it in GitHub Desktop.
Setting up Elasticsearch + Russian Morphology + Kibana + Postgress on Docker
version: '2'
services:
elasticsearch:
build: elasticsearch
ports:
- '127.0.0.1:9200:9200'
environment:
- xpack.security.enabled=false
kibana:
image: docker.elastic.co/kibana/kibana:5.6.7
ports:
- '127.0.0.1:5601:5601'
postgres:
build: postgres
environment:
- POSTGRES_USER=marketing
- POSTGRES_PASSWORD=marketing
ports:
- '127.0.0.1:5432:5432'
FROM docker.elastic.co/elasticsearch/elasticsearch:5.6.7
RUN bin/elasticsearch-plugin install http://dl.bintray.com/content/imotov/elasticsearch-plugins/org/elasticsearch/elasticsearch-analysis-morphology/5.6.7/elasticsearch-analysis-morphology-5.6.7.zip
FROM postgres:9.6
ADD production-dump.sql.gz /docker-entrypoint-initdb.d/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment