mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-09-22 08:12:00 +02:00
docs update (#508)
* doc update: stable_diffusion.md update docker specific instruction for Stable Diffusion * doc update: .env.example * Update README.md update sponsors list * Update stable_diffusion.md * Update stable_diffusion.md * Update stable_diffusion.md * Update .env.example * Update docker-compose.yml * Update .env.example
This commit is contained in:
parent
821b507e0e
commit
4dc3c31df8
4 changed files with 18 additions and 10 deletions
12
.env.example
12
.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
|
||||
|
|
|
@ -130,7 +130,7 @@ We apologize for any inconvenience caused by these changes. We hope you enjoy th
|
|||
|
||||
## Sponsors
|
||||
|
||||
Sponsored by <a href="https://github.com/DavidDev1334"><b>@DavidDev1334</b></a>, <a href="https://github.com/mjtechguy"><b>@mjtechguy</b></a>, <a href="https://github.com/Pharrcyde"><b>@Pharrcyde</b></a>, & <a href="https://github.com/fuegovic"><b>@fuegovic</b></a>
|
||||
Sponsored by <a href="https://github.com/DavidDev1334"><b>@DavidDev1334</b></a>, <a href="https://github.com/mjtechguy"><b>@mjtechguy</b></a>, <a href="https://github.com/Pharrcyde"><b>@Pharrcyde</b></a>, <a href="https://github.com/fuegovic"><b>@fuegovic</b></a> & <a href="https://github.com/SphaeroX"><b>@SphaeroX</b></a>
|
||||
|
||||
---
|
||||
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -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
|
||||
|
||||

|
||||

|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue