Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 564abf959a | |||
| ccba45f5a5 |
@ -36,7 +36,7 @@ Renseigner les variables d'environnement dans le docker-compose.yml:
|
||||
- "OAUTH_SCOPES=openid profile email"
|
||||
```
|
||||
|
||||
### GPU USE
|
||||
### GPU USE :video_game:
|
||||
|
||||
- Installer NVIDIA container toolkit:
|
||||
```bash
|
||||
|
||||
BIN
assets/favicon.png
Normal file
BIN
assets/favicon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 19 KiB |
BIN
assets/static/favicon.png
Normal file
BIN
assets/static/favicon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 19 KiB |
BIN
assets/static/splash-dark.png
Normal file
BIN
assets/static/splash-dark.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 8.8 KiB |
BIN
assets/static/splash.png
Normal file
BIN
assets/static/splash.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 20 KiB |
9
build-openwebui.sh
Executable file
9
build-openwebui.sh
Executable file
@ -0,0 +1,9 @@
|
||||
#!/bin/bash
|
||||
|
||||
git clone https://github.com/open-webui/open-webui.git
|
||||
cp -r assets/* open-webui/static/
|
||||
cd open-webui
|
||||
docker build -t dockerregistry.legaragenumerique.fr/openwebui:latest
|
||||
docker push dockerregistry.legaragenumerique.fr/openwebui:latest
|
||||
|
||||
echo "image build et pushed"
|
||||
@ -1,7 +1,7 @@
|
||||
services:
|
||||
|
||||
web-ui:
|
||||
image: ghcr.io/open-webui/open-webui:main
|
||||
image: dockerregistry.legaragenumerique.fr/openwebui:latest
|
||||
container_name: open-webui
|
||||
restart: always
|
||||
ports:
|
||||
@ -34,6 +34,11 @@ services:
|
||||
- "OPENID_PROVIDER_URL=https://keycloak/auth/realms/realm/.well-known/openid-configuration"
|
||||
- "OAUTH_PROVIDER_NAME=keycloak"
|
||||
- "OAUTH_SCOPES=openid profile email"
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-f", "http://localhost:8080/health"]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
|
||||
ollama:
|
||||
image: ollama/ollama
|
||||
@ -43,6 +48,12 @@ services:
|
||||
- 11434:11434
|
||||
volumes:
|
||||
- ./ollama:/root/.ollama
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-f", "http://localhost:11434/health"]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
|
||||
|
||||
# GPU USE
|
||||
# deploy:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user