多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
``` version: '2.2' services: elasticsearch: image: elasticsearch:v2 container_name: elasticsearch environment: - cluster.name=docker-cluster - bootstrap.memory_lock=true - "ES_JAVA_OPTS=-Xms512m -Xmx512m" - "discovery.zen.ping.unicast.hosts=elasticsearch" ulimits: memlock: soft: -1 hard: -1 volumes: - /data/docker_es_data:/usr/share/elasticsearch/data ports: - 9200:9200 networks: - esnet elasticsearch-head: image: elasticsearch-head:v1 container_name: elasticsearch-head ports: - 9100:9100 networks: - esnet kibana: image: kibana:v1 container_name: kibana environment: - ELASTICSEARCH_URL="http://elasticsearch:9200" - kibana.index=".kibana" ports: - 5601:5601 networks: - esnet networks: esnet: ```