我相信 app.yml 文件位于 /var/discourse/containers/app.yml。您需要编辑该文件并移除所有与插件相关的引用。您应该能在文件中找到类似以下内容:
## Plugins go here
## see https://meta.discourse.org/t/19157 for details
hooks:
after_code:
- exec:
cd: $home/plugins
cmd:
- git clone https://github.com/discourse/docker_manager.git
- git clone https://github.com/discourse/discourse-jwt.git
- git clone https://github.com/zh99998/discourse-cross-origin.git
其中每一行 git clone 都指向 Discourse 实例中已安装的插件。编辑完文件后,您需要重新构建您的 Discourse 应用。在 /var/discourse 目录下,您可以运行 ./launcher rebuild app 来重新构建 Discourse 应用。