Compare commits
28 Commits
0862f68103
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| eb78df8671 | |||
| c6087ccc80 | |||
| 0eb7671ce9 | |||
| 6115c1a3c1 | |||
| 1d5193f946 | |||
| eecc7db671 | |||
| e4c437d5c0 | |||
| 9ac9415599 | |||
| a1b72e2d7e | |||
| da5fadcae3 | |||
| f0730389e0 | |||
| 2ebb89f113 | |||
| 1c151c0e52 | |||
| c26b2b8dbb | |||
| 3058446b7d | |||
| d6e7ccd64d | |||
| c1f7054088 | |||
| a143e27eea | |||
| 05ddb3cac5 | |||
| f0b1dd07f6 | |||
| c8ca363996 | |||
| 751794aa0e | |||
| c6a6f3b22d | |||
| ad031dee70 | |||
| 966fd7af5a | |||
| e6ca32c896 | |||
| 7e18397527 | |||
| b2f80c436f |
8
.env.example
Normal file
8
.env.example
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
# Clé secrète Open WebUI (générer avec: openssl rand -hex 32)
|
||||||
|
WEBUI_SECRET_KEY=your_secret_key_here
|
||||||
|
|
||||||
|
# IP publique de ta VM Vast.ai (change à chaque nouvelle instance)
|
||||||
|
WEBUI_URL=http://YOUR_VAST_AI_IP
|
||||||
|
|
||||||
|
# Token du tunnel Cloudflare
|
||||||
|
CF_TUNNEL_TOKEN=your_cloudflare_tunnel_token
|
||||||
@ -16,14 +16,27 @@ services:
|
|||||||
condition: service_started
|
condition: service_started
|
||||||
restart: always
|
restart: always
|
||||||
|
|
||||||
|
# --- LE TUNNEL HTTPS ---
|
||||||
|
cloudflared:
|
||||||
|
image: cloudflare/cloudflared:latest
|
||||||
|
container_name: studio-cloudflared
|
||||||
|
command: tunnel --no-autoupdate run --token ${CF_TUNNEL_TOKEN}
|
||||||
|
environment:
|
||||||
|
- CF_TUNNEL_TOKEN=${CF_TUNNEL_TOKEN}
|
||||||
|
networks:
|
||||||
|
- studio-net
|
||||||
|
depends_on:
|
||||||
|
- gateway
|
||||||
|
restart: always
|
||||||
|
|
||||||
# --- L'INTERFACE (Open WebUI) ---
|
# --- L'INTERFACE (Open WebUI) ---
|
||||||
open-webui:
|
open-webui:
|
||||||
image: ghcr.io/open-webui/open-webui:main
|
image: ghcr.io/open-webui/open-webui:main
|
||||||
container_name: open-webui
|
container_name: open-webui
|
||||||
environment:
|
environment:
|
||||||
- OLLAMA_BASE_URL=http://ollama:11434
|
- OLLAMA_BASE_URL=http://ollama:11434
|
||||||
- WEBUI_SECRET_KEY=${WEBUI_SECRET_KEY:-supersecretkey}
|
- WEBUI_SECRET_KEY=${WEBUI_SECRET_KEY}
|
||||||
- WEBUI_URL=http://93.108.34.236
|
- WEBUI_URL=${WEBUI_URL}
|
||||||
- ENABLE_WEBSOCKETS=True
|
- ENABLE_WEBSOCKETS=True
|
||||||
volumes:
|
volumes:
|
||||||
- webui_data:/app/backend/data
|
- webui_data:/app/backend/data
|
||||||
|
|||||||
Reference in New Issue
Block a user