deploy: harden compose harness
This commit is contained in:
@@ -3,14 +3,15 @@
|
||||
# .env 不入库(.gitignore 已忽略);.env.example 入库给团队作模板
|
||||
|
||||
# ---- Postgres ----
|
||||
# 强密码必须在生产环境覆盖
|
||||
# 必填:复制为 .env 后必须填写强密码;留空时 docker compose 会拒绝启动。
|
||||
POSTGRES_USER=postgres
|
||||
POSTGRES_PASSWORD=postgres
|
||||
POSTGRES_PASSWORD=
|
||||
POSTGRES_DB=hermes_market
|
||||
POSTGRES_PORT=5432
|
||||
|
||||
# ---- App ----
|
||||
APP_PORT=8080
|
||||
# 宿主机暴露端口;容器内 app 固定监听 8080。
|
||||
APP_HOST_PORT=8080
|
||||
APP_ENV=production
|
||||
|
||||
# ---- Binance ----
|
||||
|
||||
Reference in New Issue
Block a user