既存サーバーのインストール手順

いくつかの投稿を見つけました(こちらなど)。既存のサーバーに Discourse をインストールしたいという要望がありました。関連する情報をまとめようと試みましたが、このインスタンスと GitHub を含め 5 つの異なる情報源を行き来するうちに頭が痛くなる思いでした。これは大変な作業でしたが、このユースケースをサポートするためにスクリプトにさらに機能を追加することを強くお勧めします。

私がまだ解決できていない最後の問題は、app.yml の最終的な構造です。断片的な情報しか見つけられず、私がまとめたものがすべてであるかどうかを判断するには不十分です。launcher スクリプトが追加の手順なしにコピーを生成できるようにすることを提案します。この機能があれば、必要なものを事前に設定できるようになります。現時点では、生のファイルテンプレートへのリンクをいただけたり、返信に添付していただけたりすれば、非常に感謝いたします。

There are many, many good reasons we only officially support the docker based install method.

This will not be changing.

「いいね!」 1

It’s right here: discourse_docker/samples/standalone.yml at master · discourse/discourse_docker · GitHub

Using the sample file I provided above, comment out the lines about exposed ports (since this server is shared they will already be busy). After that add this line to the template list on the top:

- "templates/web.socketed.template.yml"

Now, after a rebuild Discourse will be listening only on a Unix socket under the shared folder. Point your reverse proxy to that.

「いいね!」 1