Merge pull request #40 from soar1688/master

update v0.4
This commit is contained in:
SanJin 2019-11-01 15:03:21 +08:00 committed by GitHub
commit dc531e4670
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
FROM alpine:latest
ENV GLIBC_VERSION 2.29-r0
ENV HFISH_VERSION 0.3.2
ENV HFISH_VERSION 0.4
# Download and install glibc
RUN apk update && \
@ -22,7 +22,7 @@ COPY Entrypoint.sh /Entrypoint.sh
RUN chmod +x /Entrypoint.sh
EXPOSE 21 22 23 3306 6379 7879 8080 8989 9000 9001 11211
EXPOSE 21 22 23 69 3306 5900 6379 7879 8000 8080 8989 9000 9001 9200 11211
WORKDIR /opt

View File

@ -4,7 +4,7 @@ HFISH_DIR=/opt/HFish
if [ ! -d $HFISH_DIR ];then
mv /tmp/HFish $HFISH_DIR
sed -i "s/status = 0/status = 1/g" $HFISH_DIR/config.ini
sed -i "71s/addr = 0.0.0.0:8080/addr = 0.0.0.0:8000/" $HFISH_DIR/config.ini
fi
if [ ! -z "$CLUSTER_IP" ];then