docker-compose.yml 451 B

1234567891011121314151617
  1. version: '3'
  2. services:
  3. elasticsearch:
  4. image: registry.cn-hangzhou.aliyuncs.com/72crm/elasticsearch:6.8.6
  5. container_name: elasticsearch
  6. volumes:
  7. - ./data/data:/usr/share/elasticsearch/data
  8. - ./data/plugins:/usr/share/elasticsearch/plugins
  9. environment:
  10. - discovery.type=single-node
  11. - TZ=Asia/Shanghai
  12. - LANG=en_US.UTF-8
  13. ports:
  14. - "9200:9200"
  15. networks:
  16. wkcrm_network:
  17. restart: always