diff --git a/stacks/blinko/Caddyfile b/stacks/blinko/Caddyfile deleted file mode 100644 index ca6b131..0000000 --- a/stacks/blinko/Caddyfile +++ /dev/null @@ -1,10 +0,0 @@ -:80 { - # Fix Blinko Bug: /embed* -> /api/embed* - handle /embed* { - uri replace /embed /api/embed - reverse_proxy ollama:11434 - } - - # Alles andere direkt zu Ollama - reverse_proxy ollama:11434 -} diff --git a/stacks/blinko/README.md b/stacks/blinko/README.md index 4e93aa9..dd599bf 100644 --- a/stacks/blinko/README.md +++ b/stacks/blinko/README.md @@ -30,22 +30,20 @@ NEXT_PUBLIC_BASE_URL=https://blink.your-domain.com |---------|------|--------------| | blinko-website | 1110 | Web UI | | postgres | 5435 | Datenbank (nur intern empfohlen) | -| ollama | 11434 | Ollama API | +| ollama | ❌ | **Nur intern** - nicht exponiert | ## Caddy -Für externen Zugriff: +Für externen Zugriff auf Blinko: ```caddyfile blink.example.com { reverse_proxy localhost:1110 } - -ollama.example.com { - reverse_proxy localhost:11434 -} ``` +**Hinweis:** Ollama ist bewusst nicht extern erreichbar und läuft nur im internen Docker-Netzwerk. + ## Ollama Models Nach dem Deploy Modelle pullen: diff --git a/stacks/blinko/compose.yaml b/stacks/blinko/compose.yaml index f6429b7..f156ae1 100644 --- a/stacks/blinko/compose.yaml +++ b/stacks/blinko/compose.yaml @@ -56,17 +56,7 @@ services: - ollama_data:/root/.ollama networks: - blinko-network - - ollama-proxy: - image: caddy:2 - container_name: blinko-ollama-proxy - restart: unless-stopped - depends_on: - - ollama - volumes: - - ./Caddyfile:/etc/caddy/Caddyfile:ro - networks: - - blinko-network + # Kein Port exponiert - nur intern im Docker-Netzwerk erreichbar volumes: blinko_data: