GITBOOK-80: No subject

pull/70/head
John Wang 2024-04-25 13:42:41 +00:00 committed by gitbook-bot
parent 2041eef238
commit a29312a328
No known key found for this signature in database
GPG Key ID: 07D2180C7B12D0FF
1 changed files with 3 additions and 3 deletions

View File

@ -5,7 +5,7 @@ When developing the backend separately, you may only need to start the backend s
#### Pull the Docker image for the frontend service from DockerHub:
```Bash
docker run -it -p 3000:3000 -e EDITION=SELF_HOSTED -e CONSOLE_URL=http://127.0.0.1:5001 -e APP_URL=http://127.0.0.1:5001 langgenius/dify-web:latest
docker run -it -p 3000:3000 -e CONSOLE_URL=http://127.0.0.1:5001 -e APP_URL=http://127.0.0.1:5001 langgenius/dify-web:latest
```
#### Build Docker Image from Source Code
@ -18,7 +18,7 @@ docker run -it -p 3000:3000 -e EDITION=SELF_HOSTED -e CONSOLE_URL=http://127.0.0
2. Start the frontend image
```
docker run -it -p 3000:3000 -e EDITION=SELF_HOSTED -e CONSOLE_URL=http://127.0.0.1:5001 -e APP_URL=http://127.0.0.1:5001 dify-web
docker run -it -p 3000:3000 -e CONSOLE_URL=http://127.0.0.1:5001 -e APP_URL=http://127.0.0.1:5001 dify-web
```
3. When the console domain and web app domain are different, you can set the CONSOLE_URL and APP_URL separately.
3. When the console domain and web app domain are different, you can set the CONSOLE\_URL and APP\_URL separately.
4. To access it locally, you can visit [http://127.0.0.1:3000](http://127.0.0.1:3000/).