有人在安装插件后遇到过 502 网关错误吗?
我验证了 YAML 文件,并按照说明重新构建了,但之后无法访问网站。在将 YAML 文件的更改还原并再次重新构建后,一切恢复正常。
以下是我为参考添加到 YAML 文件中的内容:
hooks:
after_code:
- exec:
cd: $home/plugins
cmd:
- sudo -E -u discourse git clone https://github.com/discourse/docker_manager.git
- sudo -E -u discourse git clone https://github.com/gdpelican/mingle.git