# 自托管的 Discourse

**URL:** https://meta.discourse.org/t/discourse-for-self-hosting/175420
**Category:** Self-hosting
**Tags:** hosting
**Created:** [2021年一月7日 21:02 UTC](https://meta.discourse.org/t/discourse-for-self-hosting/175420 "2021-01-07T21:02:13Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![awesomerobot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/awesomerobot/32/142900_2.png) [@awesomerobot](https://meta.discourse.org/u/awesomerobot)
#### Post date: [2021年一月7日 21:22 UTC](https://meta.discourse.org/t/discourse-for-self-hosting/175420/2 "2021-01-07T21:22:32Z")

</div>

> [@unitfactory](#):
>
> 是否可以在我们的服务器上通过 Docker 托管 Discourse？

是的，您可以在自己的服务器上托管 Discourse……我们提供官方的安装指南。

> [@unitfactory](#):
>
> 我们的认证系统使用的是 Keycloak。

应该可以！Keycloak 似乎支持 OAuth 2，这与 Discourse 兼容——[Discourse OAuth2 Basic](https://meta.discourse.org/t/oauth2-basic-support/33879)

> [@unitfactory](#):
>
> 我们能否为客户创建“群组”？这样某人只能查看或访问特定的房间？

可以。您可以创建群组，并利用它们来控制对特定分类的访问权限（[https://meta.discourse.org/t/how-to-use-category-security-settings-to-create-private-categories/87678）。群组内的成员还可以通过私信进行相互沟通。](https://meta.discourse.org/t/how-to-use-category-security-settings-to-create-private-categories/87678%EF%BC%89%E3%80%82%E7%BE%A4%E7%BB%84%E5%86%85%E7%9A%84%E6%88%90%E5%91%98%E8%BF%98%E5%8F%AF%E4%BB%A5%E9%80%9A%E8%BF%87%E7%A7%81%E4%BF%A1%E8%BF%9B%E8%A1%8C%E7%9B%B8%E4%BA%92%E6%B2%9F%E9%80%9A%E3%80%82)

---

_[View the full topic](https://meta.discourse.org/t/discourse-for-self-hosting/175420)._
