docker-compose.yml 592 B

123456789101112131415161718192021222324
  1. services:
  2. es:
  3. container_name: es
  4. image: docker.elastic.co/elasticsearch/elasticsearch:8.11.3
  5. volumes:
  6. - esdata01:/usr/share/elasticsearch/data
  7. ports:
  8. - 9200:9200
  9. environment:
  10. - node.name=es
  11. - ELASTIC_PASSWORD=llama_index
  12. - bootstrap.memory_lock=false
  13. - discovery.type=single-node
  14. - xpack.security.enabled=true
  15. - xpack.security.http.ssl.enabled=false
  16. - xpack.security.transport.ssl.enabled=false
  17. ulimits:
  18. memlock:
  19. soft: -1
  20. hard: -1
  21. restart: always
  22. volumes:
  23. esdata01:
  24. driver: local