为自行托管 Discourse 站点的用户提供的文档和指南。
设置与配置
- 安装指南:Install Discourse in production with the official supported instructions
- 安装插件:Install plugins on a self-hosted site
- 环境变量:Set Environmental Variables
- 更新跟踪分支:Configure a supported tracking branch to get Discourse software updates
- 存储位置:Change Discourse install storage location
- Amazon S3 上传:Set up file and image uploads to S3
- Amazon S3 存储:Configure an S3 compatible object storage provider for uploads
- Google Cloud Storage:Set up image uploads to Google Cloud Storage
- 防火墙配置:Configure a firewall for Discourse
- Cloudflare 最佳实践:Using Discourse with Cloudflare: Best Practices
- CDN 设置:Enable a CDN for your Discourse
- 全站 CDN:Full site CDN acceleration for Discourse
- Swapfile 创建:Create a swapfile for your Linux server
- Host run 支持:Host run support for launcher
- Caddy 设置:Use Caddy instead of NGNIX as your reverse proxy
- 多个网站:Run other websites on the same machine as Discourse
- 分离的 PostgreSQL:Configure Discourse to use a separate PostgreSQL server
- 子文件夹安装:Serve Discourse from a subfolder (path prefix) instead of a subdomain
- Cloudfront 反向代理:Configure a Cloudfront reverse proxy for a subfolder install
- 缓慢的数据库恢复:Recover from a very slow database
- 在 app.yml 中安装主题:Install a Theme programatically
使用 Docker
- 故障排除:Troubleshoot docker installation issues
- SSL 设置:Allow SSL / HTTPS for your Discourse Docker setup
- 资源配置:Configure Discourse Docker on servers with more RAM and CPU
- 多站点配置:Multisite configuration with Docker
- 迁移到 Docker:Migrate an old Discourse install to Docker
- 手动更新 Docker:Manually update Discourse and Docker image to latest
AI
- 自托管指南:Discourse AI - Self-Hosted Guide
- 开源 LLM:Self-Hosting an OpenSource LLM for DiscourseAI
- 自托管嵌入:Self-Hosting Embeddings for DiscourseAI
- 自托管情感分析:Self-Hosting Sentiment and Emotion for DiscourseAI
域名
- 域名更改:Change the domain name or rename your Discourse
- Let’s Encrypt 设置:Set up HTTPS support with Let's Encrypt
- 子文件夹设置:Use a subfolder (path prefix) to serve Discourse with multiple servers sharing a domain
备份与恢复
- 备份指南:Create, download, and restore a backup of your Discourse database
- 自动备份:Configure automatic backups for Discourse
- 命令行备份:Backup discourse from the command line
- 命令行恢复:Restore a backup from the command line
- S3 上传备份:Enable hidden setting to include S3 uploads in the backups
- DigitalOcean 存储:Move Uploads and Backups to DigitalOcean Block Storage
- 开发环境恢复:Restore a Discourse backup manually for development
- 服务器迁移:Move your Discourse Instance to a Different Server
邮件
- 邮件检查清单:Email delivery configuration checklist
- 邮件故障排除:Troubleshoot email on a new Discourse install
- Google Apps 邮箱:Configure mailbox in Google Apps for user-friendly incoming email addresses for discourse categories (with screenshots)
- VERP 配置:Configure VERP to handle bouncing e-mails
- POP3 轮询:Set up reply by email with POP3 polling
- 直接投递:Configure direct-delivery incoming email for self-hosted sites with Mail-Receiver
- 回复故障排除:Troubleshoot reply by email
Rake 任务和 Rails
- 批量操作:Administrative Bulk Operations
- 隐藏设置:Hidden Site Settings Reference Guide
- 启用隐藏设置:Using Hidden Site Settings
- 启用徽章 SQL:Enable Badge SQL
- 管理员数据删除:Enable setting to allow admins to permanently delete data
- 禁用 2FA:Disable 2FA via console
- 上传大小更改:Change the maximum attachment/upload size
- 应用自动关闭:Apply auto-close to existing topics
- 更改帖子所有权:Change ownership of all posts by a specific user
- 将主题转换为 wiki:Convert all existing topics in category to wikis
- 批量删除主题:Bulk delete all topics in a category
- 删除所有点赞:Delete all the likes
- 移动主题:Move topics from one Discourse instance to another
- 重新烘焙帖子:Rebake all posts matching a pattern
- 替换字符串:Replace a string in all posts
- 编辑用户偏好设置:Edit a user preference for everyone or a subset of users
- 修改信任级别:Modify trust level for all users
- 退出所有用户:Logout all users through the rails console
- 创建管理员账户:Create an admin account from the console
- 更改管理员邮箱:Change staff email address from console
- 授予徽章:Award a non-custom badge through the console
- 撤销警告:Undo an Official Warning
通用指南
- Bitnami 不受支持:Bitnami installations are unsupported
- CORS 设置:Setup Cross-Origin Resource Sharing (CORS)
- 应对被攻击:What to do if your Discourse is compromised
- 导出密码哈希:Export password hashes in the PHC format
- 全局速率限制:Available settings for global rate limits and throttling
- 日志:Where does Discourse store and show logs?