GITBOOK-80: No subject
parent
2041eef238
commit
a29312a328
|
|
@ -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:
|
#### Pull the Docker image for the frontend service from DockerHub:
|
||||||
|
|
||||||
```Bash
|
```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
|
#### 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
|
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/).
|
4. To access it locally, you can visit [http://127.0.0.1:3000](http://127.0.0.1:3000/).
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue