|
--- |
|
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 |