mirror of
https://github.com/didi/KnowStreaming.git
synced 2026-01-03 11:28:12 +08:00
1. 调整docker-compose.yml中容器名称
This commit is contained in:
@@ -1,7 +1,10 @@
|
||||
FROM centos:7.9.2009
|
||||
FROM debian:stable-20220912-slim
|
||||
LABEL org.opencontainers.image.authors="haoqi123"
|
||||
ARG INIT_ES_FILE=./init/*
|
||||
COPY ${INIT_ES_FILE} /
|
||||
ENV TZ=Asia/Shanghai
|
||||
|
||||
ENTRYPOINT ["/bin/sh","/template.sh","start"]
|
||||
RUN apt-get update \
|
||||
&& apt-get install -y curl
|
||||
|
||||
ENTRYPOINT ["/bin/bash","/template.sh","start"]
|
||||
@@ -1,4 +1,4 @@
|
||||
echo "Wait ElasticSearch Start..."
|
||||
echo "Wait ElasticSearch Start...${SERVER_ES_ADDRESS}"
|
||||
while true
|
||||
do
|
||||
curl -s --connect-timeout 10 -o /dev/null http://${SERVER_ES_ADDRESS}/_cat/nodes > /dev/null 2>&1
|
||||
|
||||
Reference in New Issue
Block a user