docs: update docker-compose.md (#118)

Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
pull/130/head
天魂 2024-07-01 09:36:12 +08:00 committed by GitHub
parent f18ef8e41c
commit fc158fdf07
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 21 additions and 0 deletions

View File

@ -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.

View File

@ -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を使用します。

View File

@ -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。
### 自定义配置