diff --git a/.env.example b/.env.example
index 75676786d..c5f8cefbb 100644
--- a/.env.example
+++ b/.env.example
@@ -25,7 +25,7 @@ MONGO_URI=mongodb://127.0.0.1:27017/LibreChat
# Access key from OpenAI platform.
# Leave it blank to disable this feature.
# Set to "user_provided" to allow the user to provide their API key from the UI.
-OPENAI_API_KEY=user_provided
+OPENAI_API_KEY="user_provided"
# Identify the available models, separated by commas *without spaces*.
# The first will be default.
@@ -115,7 +115,9 @@ GOOGLE_CSE_ID=
# StableDiffusion WebUI
# This bot supports StableDiffusion WebUI, using it's API to generated requested images.
-SD_WEBUI_URL=http://0.0.0.0:7860
+# See detailed instructions here: https://github.com/danny-avila/chatgpt-clone/blob/main/docs/features/plugins/stable_diffusion.md
+# Use "http://127.0.0.1:7860" with local install and "http://host.docker.internal:7860" for docker
+SD_WEBUI_URL=http://host.docker.internal:7860
##########################
# PaLM (Google) Endpoint:
@@ -183,8 +185,10 @@ SESSION_EXPIRY=(1000 * 60 * 60 * 24) * 7
# Application Domains
###########################
-# Note: server = backend, client = public (the client is the url you visit)
-# For the google login to work in dev mode, you will likely need to change DOMAIN_SERVER to localhost:3090 or place it in .env.development
+# Note:
+# Server = Backend
+# Client = Public (the client is the url you visit)
+# For the Google login to work in dev mode, you will need to change DOMAIN_SERVER to localhost:3090 or place it in .env.development
DOMAIN_CLIENT=http://localhost:3080
DOMAIN_SERVER=http://localhost:3080
diff --git a/README.md b/README.md
index 818571c0a..f9e6c1ace 100644
--- a/README.md
+++ b/README.md
@@ -130,7 +130,7 @@ We apologize for any inconvenience caused by these changes. We hope you enjoy th
## Sponsors
- Sponsored by @DavidDev1334, @mjtechguy, @Pharrcyde, & @fuegovic
+ Sponsored by @DavidDev1334, @mjtechguy, @Pharrcyde, @fuegovic & @SphaeroX
---
diff --git a/docker-compose.yml b/docker-compose.yml
index 3697d2fd1..d59659b93 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -25,8 +25,8 @@ services:
target: node
# image: chatgptclone/app:latest # Uncomment this & comment above to build from docker hub image
restart: always
- # extra_hosts: # if you are running APIs on docker you need access to, you will need to uncomment this line and next
- # - "host.docker.internal:host-gateway"
+ extra_hosts: # if you are running APIs on docker you need access to, you will need to uncomment this line and next
+ - "host.docker.internal:host-gateway"
env_file:
- .env
environment:
diff --git a/docs/features/plugins/stable_diffusion.md b/docs/features/plugins/stable_diffusion.md
index f756815cb..9a0f9d870 100644
--- a/docs/features/plugins/stable_diffusion.md
+++ b/docs/features/plugins/stable_diffusion.md
@@ -45,9 +45,13 @@ To use Stable Diffusion with this project, you will need to download and install
## 3. Run Stable Diffusion (either .sh or .bat file according to your operating system)
## 4. In the app, select the plugins endpoint, open the plugins store, and install Stable Diffusion
- - You will need the stable diffusion webui API URL, which should be `http://127.0.0.1:7860`
- - Alternatively: you (the admin) can set the value in `\.env` to bypass the prompt
- - `SD_WEBUI_URL=http://127.0.0.1:7860`
+### **Note: The default port for Gradio is `7860`. If you changed it, please update the value accordingly.**
+### Docker Install
+- Use `SD_WEBUI_URL=http://host.docker.internal:7860` in the `.env` file
+- Or `http://host.docker.internal:7860` from the webui
+### Local Install
+- Use `SD_WEBUI_URL=http://127.0.0.1:7860` in the `.env` file
+- Or `http://127.0.0.1:7860` from the webui

