Compare commits
2 Commits
0862f68103
...
a583478bc3
| Author | SHA1 | Date | |
|---|---|---|---|
| a583478bc3 | |||
| 227edc1296 |
2
.env
2
.env
@ -0,0 +1,2 @@
|
||||
WEBUI_SECRET_KEY=017d4c7e7248f5e9b0a7c08223ed84ea22cd21907c69e64d6d75f994772f45dd
|
||||
WEBUI_URL=https://siam.nicolasboyer.com
|
||||
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
|
||||
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) ---
|
||||
open-webui:
|
||||
image: ghcr.io/open-webui/open-webui:main
|
||||
container_name: open-webui
|
||||
environment:
|
||||
- OLLAMA_BASE_URL=http://ollama:11434
|
||||
- WEBUI_SECRET_KEY=${WEBUI_SECRET_KEY:-supersecretkey}
|
||||
- WEBUI_URL=http://93.108.34.236
|
||||
- WEBUI_SECRET_KEY=${WEBUI_SECRET_KEY}
|
||||
- WEBUI_URL=${WEBUI_URL}
|
||||
- ENABLE_WEBSOCKETS=True
|
||||
volumes:
|
||||
- webui_data:/app/backend/data
|
||||
|
||||
Reference in New Issue
Block a user