# 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 # ---- Go module build ---- # 国内构建推荐 goproxy.cn;海外可改为 https://proxy.golang.org,direct GOPROXY=https://goproxy.cn,direct # ---- 国内网络代理(如不需要可留空)---- # 例如 http://host.docker.internal:7890 HTTP_PROXY= HTTPS_PROXY= NO_PROXY=localhost,127.0.0.1,postgres,crypto-hermes-postgres