# Discourse-appコンテナが起動してからサイレントに停止します

**URL:** https://meta.discourse.org/t/discourse-app-container-starts-then-silently-stops/238859
**Category:** Self-hosting
**Tags:** unsupported-install
**Created:** [2022 年 9 月 13 日午前 7:58 UTC](https://meta.discourse.org/t/discourse-app-container-starts-then-silently-stops/238859 "2022-09-13T07:58:45Z")
**Posts on this page:** 1
**Showing post:** 12

<div class="post-metadata">

### Author: ![jlgarnier](https://avatars.discourse-cdn.com/v4/letter/j/34f0e0/32.png) [@jlgarnier](https://meta.discourse.org/u/jlgarnier)
#### Post date: [2022 年 9 月 15 日午前 7:37 UTC](https://meta.discourse.org/t/discourse-app-container-starts-then-silently-stops/238859/12 "2022-09-15T07:37:02Z")

</div>

Hi @pfaffman 様

[Discourseと同じマシンで他のウェブサイトを実行する](https://meta.discourse.org/t/run-other-websites-on-the-same-machine-as-discourse/17247) のドキュメントを読んで、いくつか確認が必要です。

- ポストには次のように書かれています。

> 他のサーバーがポート 80 または 443 を使用している場合、`./discourse-setup` を使用して Discourse をセットアップすることはできません。`samples/standalone.yml` をお気に入りのテキストエディタでコピーして編集する必要があります。

そして、導入部分で既に述べられているように、`discourse-setup` を実行する **前に** `app.yml` を変更する必要があることを理解しています。

> 他のサーバーがポート 80 または 443 を使用している場合、`./discourse-setup` を使用して Discourse をセットアップすることはできません。`samples/standalone.yml` をお気に入りのテキストエディタでコピーして編集する必要があります。

以下のプロセスで確認していただけますでしょうか。

- Github からすべてのものをダウンロードする
- `--skip-connection-test` オプションを付けて `discourse-setup` を一度実行する → これにより `containers/app.yml` が作成されます
- 上記のドキュメントに記載されているように `app.yml` を変更する
- `/var/discourse/launcher rebuild app` でソフトウェアを更新する
- Nginx サイトを作成して Discourse ソケットを指し、Nginx を再起動する
- 最後にブラウザを起動して、サーバー IP を指す `https://discourse.mydomain.com` で Discourse にアクセスする

アドバイスをお待ちしております！

---

_[View the full topic](https://meta.discourse.org/t/discourse-app-container-starts-then-silently-stops/238859)._
