35 lines
1.1 KiB
Plaintext
35 lines
1.1 KiB
Plaintext
# 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
|