Created
February 7, 2018 08:13
-
-
Save sergeytsivin/c9e28947410ed0ec4e73413534a112b1 to your computer and use it in GitHub Desktop.
Setting up Elasticsearch + Russian Morphology + Kibana + Postgress on Docker
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
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' |
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
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 |
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
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