komodo-stacks/stacks/blinko/README.md

1.3 KiB

Blinko

📝 Self-hosted note-taking app with AI integration (Ollama)

Deploy in Komodo

Pfad: stacks/blinko/

Secrets

Erstelle eine .env Datei im Stack-Verzeichnis:

# NextAuth
NEXTAUTH_SECRET=<openssl rand -base64 48>

# PostgreSQL
POSTGRES_PASSWORD=<secure-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:

blink.example.com {
    reverse_proxy localhost:1110
}

ollama.example.com {
    reverse_proxy localhost:11434
}

Ollama Models

Nach dem Deploy Modelle pullen:

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