Files

27 lines
1.1 KiB
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.

# 腾讯云镜像/快照备份到 CKB NAS - 配置示例
# 复制为 config.env 并填写真实值config.env 勿提交 Git
# ---------- NAS 备份目录(必须先挂载 CKB NAS 的 SMB 共享)
# 示例Mac 挂载后 /Volumes/ckb_backup Linux /mnt/ckb/tencent_cloud_backup
NAS_BACKUP_ROOT=/Volumes/ckb_backup/tencent_cloud_backup
# 容量上限GB超过则发邮件告警且本次不再拉取新镜像文件
SIZE_LIMIT_GB=1000
# ---------- 告警邮件(超过 SIZE_LIMIT_GB 时发送)
ALERT_EMAIL_TO=zhiqun@qq.com
# QQ 邮箱发信需用授权码非登录密码。见QQ邮箱 -> 设置 -> 账户 -> POP3/IMAP -> 生成授权码
SMTP_HOST=smtp.qq.com
SMTP_PORT=465
SMTP_USER=zhiqun@qq.com
SMTP_PASSWORD=
# ---------- 腾讯云(可选,不填则从 00_账号与API索引.md 读取)
# TENCENTCLOUD_SECRET_ID=
# TENCENTCLOUD_SECRET_KEY=
# ---------- COS 同步(可选。若在控制台已将镜像导出到 COS填此项可从 COS 拉取到 NAS
# COS_BUCKET=your-bucket-1251077262
# COS_REGION=ap-guangzhou
# COS_PREFIX=export_images