Last active
April 29, 2018 10:09
-
-
Save ianibo/2aa56f880477f99fe0e3a7cbb430cf80 to your computer and use it in GitHub Desktop.
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.0" | |
volumes: | |
mysqldata: | |
esdata: | |
services: | |
mysql: | |
container_name: mysql | |
image: mariadb:latest | |
restart: always | |
environment: | |
MYSQL_ROOT_PASSWORD: example | |
volumes: | |
- mysqldata:/var/lib/mysql | |
elasticsearch: | |
image: elasticsearch:2.1.2 | |
restart: always | |
environment: | |
transport.host: 0.0.0.0 | |
discovery.zen.minimum_master_nodes: 1 | |
volumes: | |
- esdata:/usr/share/elasticsearch/data | |
# https://www.elastic.co/guide/en/elasticsearch/reference/5.6/docker.html | |
# https://github.com/k-int/KBPlusG3/blob/dev-integration/SETUP-ES-DOCKER.txt | |
# es5: | |
# container_name: es5 | |
# image: docker.elastic.co/elasticsearch/elasticsearch:5.5.3 | |
# restart: always | |
# environment: | |
# http.host: 0.0.0.0 | |
# transport.host: 0.0.0.0 | |
# cluster.name: kbplusg3 | |
# ports: | |
# - 9200:9200 | |
# - 9300:9300 | |
# volumes: | |
# - esdata:/usr/share/elasticsearch/data | |
# adminer: | |
# image: adminer | |
# restart: always | |
# ports: | |
# - 8080:8080 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment