unis-oa/deploy/config/config.toml

18 lines
1.1 KiB
TOML
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

# =============================================================================
# 部署机上的覆盖配置(挂进容器的 /etc/unisoa/config.toml)
# -----------------------------------------------------------------------------
# 这份盖在镜像里那份 backend/config.toml 上面:只写跟发布版本不一致的覆盖项,
# 没写的沿用镜像里的基础值。什么都不想覆盖也行,那这个文件删掉也没关系
# —— 档位改由 docker-compose.yml 里的 OA_ENV 决定。
#
# ⚠️ 各环境的真东西(MySQL 地址账号口令、JWT 密钥、Hub 目录密钥、MinIO 密钥)
# 不放这儿,放同目录的 config.prod.toml:
# cp ../../backend/config.prod.toml.example ./config.prod.toml && vi config.prod.toml
# 口令也可以完全不落盘,改在 compose 的 environment 里注入(优先级最高)。
# =============================================================================
[env]
# 用哪一档:prod → 读同目录的 config.prod.toml。
# compose 里设了 OA_ENV 的话以 OA_ENV 为准,这里写什么都被盖住。
name = "prod"