66 lines
2.1 KiB
YAML
66 lines
2.1 KiB
YAML
# Licensed to the Apache Software Foundation (ASF) under one
|
|
# or more contributor license agreements. See the NOTICE file
|
|
# distributed with this work for additional information
|
|
# regarding copyright ownership. The ASF licenses this file
|
|
# to you under the Apache License, Version 2.0 (the
|
|
# "License"); you may not use this file except in compliance
|
|
# with the License. You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing,
|
|
# software distributed under the License is distributed on an
|
|
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
# KIND, either express or implied. See the License for the
|
|
# specific language governing permissions and limitations
|
|
# under the License.
|
|
|
|
version: "3.9"
|
|
|
|
services:
|
|
es6:
|
|
# es official not provide 6.x image for arm/v8, use compatible image.
|
|
image: webhippie/elasticsearch:6.8
|
|
container_name: elasticsearch6
|
|
ports:
|
|
- "19200:9200"
|
|
environment:
|
|
ELASTICSEARCH_CLUSTER_NAME: "elasticsearch6"
|
|
ES_JAVA_OPTS: "-Xms256m -Xmx256m"
|
|
discovery.type: "single-node"
|
|
ELASTICSEARCH_XPACK_SECURITY_ENABLED: "false"
|
|
healthcheck:
|
|
test: [ "CMD", "curl", "localhost:9200" ]
|
|
interval: 30s
|
|
timeout: 10s
|
|
retries: 100
|
|
es7:
|
|
image: elasticsearch:7.17.5
|
|
container_name: elasticsearch7
|
|
ports:
|
|
- "29200:9200"
|
|
environment:
|
|
cluster.name: "elasticsearch7"
|
|
ES_JAVA_OPTS: "-Xms256m -Xmx256m"
|
|
discovery.type: "single-node"
|
|
xpack.security.enabled: "false"
|
|
healthcheck:
|
|
test: [ "CMD", "curl", "localhost:9200" ]
|
|
interval: 30s
|
|
timeout: 10s
|
|
retries: 100
|
|
es8:
|
|
image: elasticsearch:8.3.3
|
|
container_name: elasticsearch8
|
|
ports:
|
|
- "39200:9200"
|
|
environment:
|
|
cluster.name: "elasticsearch8"
|
|
ES_JAVA_OPTS: "-Xms256m -Xmx256m"
|
|
discovery.type: "single-node"
|
|
xpack.security.enabled: "false"
|
|
healthcheck:
|
|
test: [ "CMD", "curl", "localhost:9200" ]
|
|
interval: 30s
|
|
timeout: 10s
|
|
retries: 100 |