Update README.md
All checks were successful
Updates/open-webui-ollama-docker-deploy/pipeline/head This commit looks good

This commit is contained in:
Adam Outler 2025-04-03 20:38:07 +00:00
parent 2cb6b90010
commit b590c25fe1

View File

@ -37,62 +37,7 @@ The Docker Compose configuration deploys the following:
- `ollama` and `open-webui` services with defined volumes and ports.
- `shared_net` network for container communication.
The relevant section in `docker-compose.yaml`:
```yaml
docker-compose.yaml
services:
ollama:
image: ollama/ollama:latest
deploy:
resources:
reservations:
devices:
- driver: nvidia
capabilities: [gpu]
count: all
ports:
- "11434:11434"
environment:
- OLLAMA_LLM_LIBRARY=cuda_v12
volumes:
- ollama:/root/.ollama
restart: always
container_name: ollama
networks:
- shared_net
open_webui:
image: ghcr.io/open-webui/open-webui:dev
ports:
- "3000:8080"
volumes:
- open-webui:/app/backend/data
restart: always
container_name: open-webui
networks:
- shared_net
environment:
- ENV=dev
- ENABLE_LOGIN_FORM=true
- ENABLE_OAUTH_SIGNUP=true
- OAUTH_USERNAME_CLAIM=name
- OAUTH_MERGE_ACCOUNTS_BY_EMAIL=true
- OAUTH_PROVIDER_NAME=git.adamoutler.com permissions
- WEBUI_URL=https://ai.hackedyour.info
- OPENID_PROVIDER_URL=https://git.adamoutler.com/.well-known/openid-configuration
- OPENID_REDIRECT_URI=https://ai.hackedyour.info/oauth/oidc/callback
- OLLAMA_BASE_URL=http://ollama:11434
- OPENAI_API_KEY=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
- OAUTH_CLIENT_ID=a7bb86aa-fea4-4c0d-a07f-3e0ca4428159
- OAUTH_CLIENT_SECRET=gto_v5va4hznsqck4myz33fve7md2tk7nntgpwoskvki6mxiwg3ux6vq
volumes:
ollama:
open-webui:
networks:
shared_net:
```
## Jenkinsfile for CI/CD