mirror of
https://github.com/Dokploy/templates
synced 2025-06-26 18:16:07 +00:00
34 lines
714 B
YAML
34 lines
714 B
YAML
version: '3.8'
|
|
|
|
services:
|
|
elasticsearch:
|
|
image: docker.elastic.co/elasticsearch/elasticsearch:8.10.2
|
|
container_name: elasticsearch
|
|
environment:
|
|
- discovery.type=single-node
|
|
- xpack.security.enabled=false
|
|
- bootstrap.memory_lock=true
|
|
- ES_JAVA_OPTS=-Xms512m -Xmx512m
|
|
ulimits:
|
|
memlock:
|
|
soft: -1
|
|
hard: -1
|
|
ports:
|
|
- "9200"
|
|
volumes:
|
|
- es_data:/usr/share/elasticsearch/data
|
|
|
|
kibana:
|
|
image: docker.elastic.co/kibana/kibana:8.10.2
|
|
container_name: kibana
|
|
environment:
|
|
- ELASTICSEARCH_HOSTS=http://elasticsearch:9200
|
|
ports:
|
|
- "5601"
|
|
depends_on:
|
|
- elasticsearch
|
|
|
|
volumes:
|
|
es_data:
|
|
driver: local
|
|
|