diff --git a/CHANGELOG.md b/CHANGELOG.md index c040c6d..72eca09 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # 更新日志 +25w08b +--- +- PRE-RELEASE: 此版本是v2.0.4的预发布版本,请勿在生产环境中使用; +- REMOVE: 由于v2改进后稳定性增强, 故移除健康检测 + 25w08a --- - PRE-RELEASE: 此版本是v2.0.4的预发布版本,请勿在生产环境中使用; diff --git a/DEV-VERSION b/DEV-VERSION index 7a6bfb4..bf16ee9 100644 --- a/DEV-VERSION +++ b/DEV-VERSION @@ -1 +1 @@ -25w08a \ No newline at end of file +25w08b \ No newline at end of file diff --git a/README.md b/README.md index 77796fd..29aff6b 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,7 @@ # GHProxy ![pull](https://img.shields.io/docker/pulls/wjqserver/ghproxy.svg) +![Docker Image Size (tag)](https://img.shields.io/docker/image-size/wjqserver/ghproxy/latest) [![Go Report Card](https://goreportcard.com/badge/github.com/WJQSERVER-STUDIO/ghproxy)](https://goreportcard.com/report/github.com/WJQSERVER-STUDIO/ghproxy) 使用Go实现的GHProxy,用于加速部分地区Github仓库的拉取,支持速率限制,用户鉴权,支持Docker部署 diff --git a/docker/dockerfile/dev/init.sh b/docker/dockerfile/dev/init.sh index 21c150a..f9a10e7 100644 --- a/docker/dockerfile/dev/init.sh +++ b/docker/dockerfile/dev/init.sh @@ -14,12 +14,4 @@ if [ ! -f /data/${APPLICATION}/config/config.toml ]; then cp /data/${APPLICATION}/config.toml /data/${APPLICATION}/config/config.toml fi -/data/${APPLICATION}/${APPLICATION} -cfg /data/${APPLICATION}/config/config.toml > /data/${APPLICATION}/log/run.log 2>&1 & - -sleep 30 - -while [[ true ]]; do - # Failure Circuit Breaker - curl -f --max-time 5 -retry 3 http://127.0.0.1:8080/api/healthcheck || exit 1 - sleep 120 -done \ No newline at end of file +/data/${APPLICATION}/${APPLICATION} -cfg /data/${APPLICATION}/config/config.toml > /data/${APPLICATION}/log/run.log 2>&1 diff --git a/docker/dockerfile/release/init.sh b/docker/dockerfile/release/init.sh index 0555c6f..f9a10e7 100644 --- a/docker/dockerfile/release/init.sh +++ b/docker/dockerfile/release/init.sh @@ -14,12 +14,4 @@ if [ ! -f /data/${APPLICATION}/config/config.toml ]; then cp /data/${APPLICATION}/config.toml /data/${APPLICATION}/config/config.toml fi -/data/${APPLICATION}/${APPLICATION} -cfg /data/${APPLICATION}/config/config.toml > /data/${APPLICATION}/log/run.log 2>&1 & - -sleep 30 - -while [[ true ]]; do - # Failure Circuit Breaker - curl -f --max-time 5 -retry 3 http://127.0.0.1:8080/api/healthcheck || exit 1 - sleep 120 -done \ No newline at end of file +/data/${APPLICATION}/${APPLICATION} -cfg /data/${APPLICATION}/config/config.toml > /data/${APPLICATION}/log/run.log 2>&1 diff --git a/init.sh b/init.sh index 70da645..601185f 100644 --- a/init.sh +++ b/init.sh @@ -14,12 +14,5 @@ if [ ! -f /data/${APPLICATON}/config/config.yaml ]; then cp /data/${APPLICATON}/config.yaml /data/${APPLICATON}/config/config.yaml fi -/data/${APPLICATON}/${APPLICATON} > /data/${APPLICATON}/log/run.log 2>&1 & - -sleep 30 - -while [[ true ]]; do - curl -f http://localhost:8080/api/healthcheck || exit 1 - sleep 120 -done +/data/${APPLICATON}/${APPLICATON} > /data/${APPLICATON}/log/run.log 2>&1