在专用服务器上安装 Discourse 与 WordPress 并存

I have asked a question earlier today about how to have multiple instances in a single server and what are the ideal configurations I need for the new server.

After hours of researching I have decided to use the dedicated server I already have in FastComet. The reason behind this decision is simply it has got a E5-2680 v3 @ 2.50GHz + 16gb of ram where I have installed few WordPress sites and it’s barely breaking a sweat.

My server is managed so I can have FastComet guys install the packages I want. What are the possibility to run discourse instances in this server? Is it possible to install docker containers on a optimized server for WordPress with nginx without having issues in the future?

Totally possible, Yet it needs some additional configuration over the vanilla install.

Definitely possible, I’m running a similar setup but Future is unpredictable so I can’t speak of anything happening there.

It’s possible. There is a guide here for getting Discourse running through another instance of nginx on the host:

And the rest of the WordPress sites on the server can continue to run as they currently are.

Thanks for the hope @itsbhanusharma and @Cameron_D.

I have already sent this guide to FastComet team. Technical team will reach out to me and let me know if there’s any issues, otherwise I will surely breakdown the process into parts and publish a guide here so other users can save themselves from spending hours and hours figuring out what to do.

In case there is anything that they can’t figure out, be sure to post it here, I may be able to help out with the way I configure my own instance.

这正是我一直在寻找的内容。

我们在虚拟服务器上安装了 Discourse(当然使用了 Docker)。

我在另一台服务器(另一个子域名)上有一个简单的 WordPress 安装,但我想将其迁移到 Discourse 所在的服务器。

我想安装一个包含 WordPress 和 Nginx 的 Docker 容器。

但在阅读了这里提到的所有帖子后,我仍不确定该如何操作。

在这里,有人通过在 Docker 外部安装 Nginx,为 WordPress 和 Discourse 分别配置站点,并通过管道传递 Discourse 请求来解决这个问题。如果我没理解错的话,这就是 @Cameron_D 所说的内容。

使用管道来让 Nginx 与 Discourse 安装进行通信,会不会更慢?

不过,你需要调整 Discourse 的配置。

有没有可能使用 Docker 安装另一个 WordPress+Nginx 容器,类似于 Discourse 的安装方式?

我想,Docker 提供的隔离级别应该有助于避免安全问题。