You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Set to another IP address does not take effect and still access 127.0.0.1
run the docker run -itd -p 3000:3000 -e CONSOLE_API_URL=http://10.65.12.76:5001 -e APP_API_URL=http://10.65.12.76:5001 --name command dify-web-bash dify-api
✔️ Expected Behavior
No response
❌ Actual Behavior
No response
The text was updated successfully, but these errors were encountered:
Hello @1205469665! I'm here to assist you with any bugs, questions, or contributions you need help with. Let's tackle this issue together!
To resolve the issue where setting a different IP address for the Docker image front-end settings does not take effect and still accesses 127.0.0.1, ensure that you are correctly setting the environment variables CONSOLE_API_URL and APP_API_URL with the desired IP address when running the Docker container. For example, modify the Docker run command like this:
docker run -it -p 3000:3000 -e CONSOLE_API_URL=http://<your-ip-address>:5001 -e APP_API_URL=http://<your-ip-address>:5001 langgenius/dify-web:latest
Replace <your-ip-address> with the actual IP address you want to use. This should ensure that the front-end accesses the specified IP address instead of 127.0.0.1 [1].
Self Checks
Dify version
0.11.1
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
Source code build Docker image front-end Settings
-e CONSOLE_API_URL=http://127.0.0.1:5001 -e APP_API_URL=http://127.0.0.1:5001 is not valid
Set to another IP address does not take effect and still access 127.0.0.1
run the docker run -itd -p 3000:3000 -e CONSOLE_API_URL=http://10.65.12.76:5001 -e APP_API_URL=http://10.65.12.76:5001 --name command dify-web-bash dify-api
✔️ Expected Behavior
No response
❌ Actual Behavior
No response
The text was updated successfully, but these errors were encountered: