# Discourse Docker 安装是否有全局设置的配置文件？

**URL:** <https://meta.discourse.org/t/with-a-discourse-docker-installation-is-there-a-config-file-for-the-global-settings/271438>\
**Category:** Self-hosting\
**Tags:** docker\
**Created:** [2023年七月12日 15:06 UTC](https://meta.discourse.org/t/with-a-discourse-docker-installation-is-there-a-config-file-for-the-global-settings/271438 "2023-07-12T15:06:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dbitouze](https://avatars.discourse-cdn.com/v4/letter/d/cdc98d/32.png) [@dbitouze](https://meta.discourse.org/u/dbitouze)\
**Post date:** [2023年七月12日 15:06 UTC](https://meta.discourse.org/t/with-a-discourse-docker-installation-is-there-a-config-file-for-the-global-settings/271438/1 "2023-07-12T15:06:09Z")

</div>

您好，

我们正在通过 Docker 镜像测试 Discourse。我们已经配置了 Discourse，并希望将我们的设置（语言、徽标等）存储在一个配置文件中，以便在不得不重新启动（使用另一个）Docker 镜像时可以重复使用。

这是否可行？如果可行，该文件是什么以及它存储在哪里？

谢谢。

---

<div class="post-metadata">

**Author:** ![maiki](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/maiki/32/233950_2.png) [@maiki](https://meta.discourse.org/u/maiki)\
**Post date:** [2023年七月12日 17:00 UTC](https://meta.discourse.org/t/with-a-discourse-docker-installation-is-there-a-config-file-for-the-global-settings/271438/2 "2023-07-12T17:00:32Z")

</div>

你好 Denis。 👋

> [@dbitouze](#):
>
> Is it possible and, if so, which is and where is the file where are store the settings?

你想要的一切都存储在备份中，Discourse 站点可以从备份中恢复，并且将包含所有设置（以及上传的文件，如果包含在内）。

详细指南可在 [Create, download, and restore a backup of your Discourse database](https://meta.discourse.org/t/create-download-and-restore-a-backup-of-your-discourse-database/122710?u=maiki) 找到。🙂

---

<div class="post-metadata">

**Author:** ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)\
**Post date:** [2023年八月11日 17:00 UTC](https://meta.discourse.org/t/with-a-discourse-docker-installation-is-there-a-config-file-for-the-global-settings/271438/3 "2023-08-11T17:00:40Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
