by manual installation, I could cease the rails server to reload the config files. Is there something like the rails server within docker?
This seems to work for me:
doing so will restart the entire docker container. what I trying to do is to restart the web server without touch the container, such as using “rails server” and then stop it without utilizing docker.
why are you trying to do this, not following at all. Anyway here you go.
cd /var/discourse
./launcher enter app
sv restart unicorn
should we exit app after this step? I’m so new to this if it wasn’t obvious
/var/www/discourse doesn’t exist outside the app, if you can see that path you’re already inside discourse.
Type exit - does that end the ssh connection, or bring you back to /var/discourse?
UI 中有重启服务器的按钮吗?我看到有新版本时会显示升级按钮,我认为那会执行重启,但我没看到专门用于重启的按钮。
没有,确实没有。你为什么需要重启 Web 服务器?你想解决什么问题?
我想重启服务器,看看 app.yml 的更改是否生效。我想可能还需要重新构建。也许在管理界面的升级部分附近添加一个 UI 按钮会更方便。
对 app.yml 的大多数更改都需要重新构建。重新构建无法从 UI 触发,您需要连接到服务器本身,在 Docker 容器外部进行操作。
SMTP 等设置可在 yml 文件中更新,并通过以下命令立即生效:
./launcher destroy app
./launcher start app
而其他内容(包括插件)则需要重新构建。
