modified to combine openwebui and ollama

This commit is contained in:
Iyeoluwa Akinrinola
2025-05-09 20:00:26 +01:00
parent 4c0cff7cca
commit 386af38a99
9 changed files with 149 additions and 35 deletions
+4 -4
View File
@@ -74,8 +74,8 @@ To deploy the service:
## API Documentation
Once the service is running, you can access the API documentation at:
- Swagger UI: http://localhost:5251/docs
- ReDoc: http://localhost:5251/redoc
- Swagger UI: http://localhost:5252/docs
- ReDoc: http://localhost:5252/redoc
## OpenWebUI Configuration
@@ -83,8 +83,8 @@ To configure OpenWebUI to use this service as its backend:
1. Set the following environment variables in OpenWebUI:
```
OLLAMA_API_BASE_URL=http://your-server-ip:5251/ollama
OPENAI_API_BASE_URL=http://your-server-ip:5251/api
OLLAMA_API_BASE_URL=http://your-server-ip:5252/ollama
OPENAI_API_BASE_URL=http://your-server-ip:5252/api
```
2. Restart OpenWebUI to apply the changes.