Skip to content

Instantly share code, notes, and snippets.

@xeraa
Created October 2, 2018 15:41
Show Gist options
  • Save xeraa/5fa5a603a2a39de90d5877c71ff88089 to your computer and use it in GitHub Desktop.
Save xeraa/5fa5a603a2a39de90d5877c71ff88089 to your computer and use it in GitHub Desktop.
Demo for Liferay and Elasticsearch + Kibana
---
version: '2'
services:
liferay:
image: mdelapenya/liferay-portal:7.1-ce-beta2-tomcat-hsql
ports:
- 8080:8080
- 11311:11311
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:6.4.1
environment:
- bootstrap.memory_lock=true
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
- "xpack.security.enabled=false"
ulimits:
memlock:
soft: -1
hard: -1
mem_limit: 1g
volumes:
- esdata1:/usr/share/elasticsearch/data
ports:
- 9200:9200
kibana:
image: docker.elastic.co/kibana/kibana:6.4.1
links:
- elasticsearch
ports:
- 5601:5601
volumes:
esdata1:
driver: local
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment