add zh-hans/jp env copy command (#128)

pull/118/head^2
takatost 2024-06-30 21:25:31 +08:00 committed by GitHub
parent 61a5b1455b
commit 2d7c5ad024
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 20 additions and 5 deletions

View File

@ -22,6 +22,7 @@ difyソースコードのdockerディレクトリに移動し、次のコマン
```Shell
cd dify/docker
cp .env.example .env
docker compose up -d
```

View File

@ -1,6 +1,6 @@
# Docker Compose Deployment
# Docker Compose 部署
### Prerequisites
### 前提条件
| Operating System | Software | Description |
| -------------------------- | -------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
@ -22,6 +22,7 @@ git clone https://github.com/langgenius/dify.git
```Shell
cd dify/docker
cp .env.example .env
docker compose up -d
```
@ -59,7 +60,7 @@ docker-web-1 langgenius/dify-web:0.3.2 "/entrypoint.sh"
docker-worker-1 langgenius/dify-api:0.3.2 "/entrypoint.sh" worker 4 seconds ago Up 2 seconds 80/tcp, 5001/tcp
```
### Upgrade Dify
### 更新 Dify
进入 dify 源代码的 docker 目录,按顺序执行以下命令:
@ -70,6 +71,19 @@ docker compose down
docker compose pull
docker compose up -d
```
### Access Dify
### 访问 Dify
访问 Difyll在浏览器中输入 `http://localhost` 访问 Dify。
在浏览器中输入 `http://localhost` 访问 Dify。
### 自定义配置
编辑 `.env` 文件中的环境变量值。然后,重新启动 Dify
```bash
```
docker compose down
docker compose up -d
```
完整的环境变量集合可以在 `docker/.env.example` 中找到。