Files
dela 1b61541ff5
ci / build + vet + guard + race (push) Has been cancelled
feat: 接入 CoinGlass 清算热力图隔离链路
2026-05-25 16:57:22 +08:00

35 lines
1.1 KiB
Bash

# cryptoHermes 部署变量
# 复制本文件到 .env 然后按需修改
# .env 不入库(.gitignore 已忽略);.env.example 入库给团队作模板
# ---- Postgres ----
# 必填:复制为 .env 后必须填写强密码;留空时 docker compose 会拒绝启动。
POSTGRES_USER=postgres
POSTGRES_PASSWORD=
POSTGRES_DB=hermes_market
POSTGRES_PORT=5432
# ---- App ----
# 宿主机暴露端口;容器内 app 固定监听 8080。
APP_HOST_PORT=8080
APP_ENV=production
# ---- Binance ----
BINANCE_BASE_URL=https://fapi.binance.com
# ---- CoinGlass(默认关闭;开启后必须填 TOTP)----
COINGLASS_ENABLED=false
COINGLASS_BASE_URL=https://capi.coinglass.com
COINGLASS_TOTP_SECRET=
# ---- Go module build ----
# 国内构建推荐 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;不要填 127.0.0.1,容器里会指向容器自身。
HTTP_PROXY=
HTTPS_PROXY=
NO_PROXY=localhost,127.0.0.1,postgres,crypto-hermes-postgres