version: '3.3'
services:
php:
build:
context: ./docker/config/php/
volumes:
- ./:/www
networks:
- 'overlay'
elasticsearch:
image: blacktop/elasticsearch:5.6.8
volumes:
- ./docker/userdata/elasticsearch:/usr/share/java/elasticsearch/data
environment:
- "ES_JAVA_OPTS=-Xms256m -Xmx256m"
ulimits:
memlock:
soft: -1
hard: -1
ports:
- 9200:9200
networks:
- 'overlay'
kibana:
image: blacktop/kibana:5.6.8
environment:
- "ES_JAVA_OPTS=-Xms256m -Xmx256m"
- "KIBANA_ELASTICSEARCH_URL=http://elasticsearch:9200"
- "KIBANA_ELASTICSEARCH_USERNAME=root"
- "KIBANA_ELASTICSEARCH_PASSWORD=root"
ports:
- 5601:5601
networks:
- 'overlay'
networks:
overlay:
хотелось бы заменить mysql фултекст на Elast