Skip to content

Instantly share code, notes, and snippets.

@palawer
Created November 2, 2023 12:22
Show Gist options
  • Save palawer/9efc049a6c1f7312528de5c4a0324629 to your computer and use it in GitHub Desktop.
Save palawer/9efc049a6c1f7312528de5c4a0324629 to your computer and use it in GitHub Desktop.
version: '3'
services:
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:7.17.13
container_name: elasticsearch-logs
restart: always
network_mode: host
environment:
- xpack.security.enabled=false
- discovery.type=single-node
- bootstrap.memory_lock=true
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
- http.port=9210
kibana:
image: docker.elastic.co/kibana/kibana:7.17.13
container_name: kibana-logs
restart: always
network_mode: host
environment:
- SERVER_PORT=5610
- XPACK_SECURITY_ENABLED=false
- ELASTICSEARCH_HOSTS=http://localhost:9210
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment