Files
duckmail_gui/config_gui.example.jsonc
2026-03-21 09:25:24 +08:00

53 lines
1.1 KiB
JSON
Raw Permalink 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.
{
// Cloudflare Temp Mail 后端 API 地址
"api_base": "https://temp-email-api.example.com",
// 默认创建邮箱使用的域名
"domain": "example.com",
// 当前仅支持 cloudflare_temp_email
"backend_type": "cloudflare_temp_email",
// cloudflare_temp_email 的管理员密码
"bearer": "replace-with-your-admin-password",
// 可选代理,例如 http://127.0.0.1:7890
"proxy": "",
// 是否在界面中显示密码明文
"show_passwords": false,
// 是否自动刷新邮件列表
"auto_refresh": false,
// 自动刷新间隔,单位秒
"refresh_interval": 30,
// 是否启用数据库
"db_enabled": true,
// 数据库类型postgresql 或 mysql
"db_type": "postgresql",
// 数据库主机
"db_host": "127.0.0.1",
// 数据库端口
"db_port": 5432,
// 数据库名称
"db_name": "mail_accounts_db",
// 存放邮箱账号的表名
"db_table": "registered_accounts",
// 数据库用户名
"db_user": "postgres",
// 数据库密码
"db_password": "replace-with-your-db-password",
// 勾选后,数据库或表不存在时允许自动创建
"db_auto_create": false
}