Files
sundynix-site/.env.production.example
T
2026-07-17 17:35:05 +08:00

26 lines
970 B
Bash
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 部署机 192.168.100.132:/home/workspace/sundynix-site/.env
# 一次性手动放置,CI 不覆盖它(敏感信息不进流水线)
# compose 的 env_file 读取本文件
# 内网 MySQL127 那台,MySQL root 密码是 root,注意不是机器 SSH 密码),库名 sundynix_site
SUNDYNIX_DB=root:root@tcp(192.168.100.127:3307)/sundynix_site?charset=utf8mb4&parseTime=True&loc=Local
# 监听地址(容器内固定 8090,勿改,与 compose ports 对应)
SUNDYNIX_ADDR=:8090
# 管理端账号(务必改掉默认密码)
SUNDYNIX_ADMIN_USER=sundynix
SUNDYNIX_ADMIN_PASS=请改成强密码
# JWT 密钥(openssl rand -hex 32 生成一个填进来)
SUNDYNIX_JWT_SECRET=请填32字节以上随机串
# 雪花节点号(多实例时区分)
SUNDYNIX_NODE_ID=1
# 对外站点地址(RSS / OG 链接用)
SUNDYNIX_SITE_URL=https://site.sundynix.cn
# 版本回退(gitea 无 release 时官网显示的版本)
SUNDYNIX_FALLBACK_VERSION=v0.1.2