# Blinko 📝 Self-hosted note-taking app with AI integration (Ollama) ## Deploy in Komodo **Pfad:** `stacks/blinko/` ## Secrets Erstelle eine `.env` Datei im Stack-Verzeichnis: ```bash # NextAuth NEXTAUTH_SECRET= # PostgreSQL POSTGRES_PASSWORD= POSTGRES_USER=postgres POSTGRES_DB=postgres # Domain (optional, default: https://blink.nocci.it) NEXTAUTH_URL=https://blink.your-domain.com NEXT_PUBLIC_BASE_URL=https://blink.your-domain.com ``` ## Ports | Service | Port | Beschreibung | |---------|------|--------------| | blinko-website | 1110 | Web UI | | postgres | 5435 | Datenbank (nur intern empfohlen) | | ollama | 11434 | Ollama API | ## Caddy Für externen Zugriff: ```caddyfile blink.example.com { reverse_proxy localhost:1110 } ollama.example.com { reverse_proxy localhost:11434 } ``` ## Ollama Models Nach dem Deploy Modelle pullen: ```bash docker exec -it blinko-ollama ollama pull llama3.2 docker exec -it blinko-ollama ollama pull nomic-embed-text ``` ## Volumes - `blinko_data` → `/app/.blinko` (Notizen & Daten) - `postgres_data` → `/var/lib/postgresql/data` (Datenbank) - `ollama_data` → `/root/.ollama` (AI Modelle) ## Health Checks - Blinko: HTTP Check auf Port 1111 - PostgreSQL: `pg_isready` Check - Ollama: Container läuft