build: isolate go module proxy setting
This commit is contained in:
@@ -18,11 +18,12 @@ APP_ENV=production
|
||||
BINANCE_BASE_URL=https://fapi.binance.com
|
||||
|
||||
# ---- Go module build ----
|
||||
# 国内构建推荐 goproxy.cn;海外可改为 https://proxy.golang.org,direct
|
||||
GOPROXY=https://goproxy.cn,direct
|
||||
# 国内构建推荐 goproxy.cn;海外可改为 https://proxy.golang.org,direct。
|
||||
# 注意:这不是 HTTP 代理,不要填 http://127.0.0.1:7890。
|
||||
GO_MODULE_PROXY=https://goproxy.cn,direct
|
||||
|
||||
# ---- 国内网络代理(如不需要可留空)----
|
||||
# 例如 http://host.docker.internal:7890
|
||||
# 例如 http://host.docker.internal:7890;不要填 127.0.0.1,容器里会指向容器自身。
|
||||
HTTP_PROXY=
|
||||
HTTPS_PROXY=
|
||||
NO_PROXY=localhost,127.0.0.1,postgres,crypto-hermes-postgres
|
||||
|
||||
Reference in New Issue
Block a user