From fc158fdf077d983b1be501aa9d632188668d2b66 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A4=A9=E9=AD=82?= <365125264@qq.com> Date: Mon, 1 Jul 2024 09:36:12 +0800 Subject: [PATCH] docs: update docker-compose.md (#118) Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com> --- en/getting-started/install-self-hosted/docker-compose.md | 6 ++++++ jp/getting-started/install-self-hosted/docker-compose.md | 7 +++++++ .../getting-started/install-self-hosted/docker-compose.md | 8 ++++++++ 3 files changed, 21 insertions(+) diff --git a/en/getting-started/install-self-hosted/docker-compose.md b/en/getting-started/install-self-hosted/docker-compose.md index f9e8548..471acdf 100644 --- a/en/getting-started/install-self-hosted/docker-compose.md +++ b/en/getting-started/install-self-hosted/docker-compose.md @@ -78,6 +78,12 @@ docker compose pull docker compose up -d ``` +#### Sync Environment Variable Configuration (Important) + +* If the `.env.example` file has been updated, be sure to modify your local `.env` file accordingly. + +* Check and modify the configuration items in the `.env` file as needed to ensure they match your actual environment. You may need to add any new variables from `.env.example` to your `.env` file, and update any values that have changed. + ### Access Dify Finally, access [http://localhost/install](http://localhost/install) to use the deployed Dify. diff --git a/jp/getting-started/install-self-hosted/docker-compose.md b/jp/getting-started/install-self-hosted/docker-compose.md index 1dbefd9..6e842d6 100644 --- a/jp/getting-started/install-self-hosted/docker-compose.md +++ b/jp/getting-started/install-self-hosted/docker-compose.md @@ -71,6 +71,13 @@ docker compose down docker compose pull docker compose up -d ``` + +#### 環境変数設定の同期 (重要!) + +* `.env.example` ファイルが更新された場合は、必ずローカルの `.env` ファイルをそれに応じて修正してください。 + +* `.env` ファイル内のすべての設定項目を確認し、実際の運用環境に合わせて修正してください。`.env.example` から `.env` ファイルに新しい変数を追加したり、変更された値を更新する必要があるかもしれません。 + ### Difyへのアクセス `http://localhost`にアクセスして、Difyを使用します。 diff --git a/zh_CN/getting-started/install-self-hosted/docker-compose.md b/zh_CN/getting-started/install-self-hosted/docker-compose.md index 78293ee..d8a4f94 100644 --- a/zh_CN/getting-started/install-self-hosted/docker-compose.md +++ b/zh_CN/getting-started/install-self-hosted/docker-compose.md @@ -71,8 +71,16 @@ docker compose down docker compose pull docker compose up -d ``` + +#### 同步环境变量配置 (重要!) + +* 如果 `.env.example` 文件有更新,请务必同步修改您本地的 `.env` 文件。 + +* 检查 `.env` 文件中的所有配置项,确保它们与您的实际运行环境相匹配。您可能需要将 `.env.example` 中的新变量添加到 `.env` 文件中,并更新已更改的任何值。 + ### 访问 Dify + 在浏览器中输入 `http://localhost` 访问 Dify。 ### 自定义配置