Add Blinko stack - Note-taking app with Ollama AI integration
This commit is contained in:
parent
0e3f9d74d4
commit
ebd6e7c3ee
4 changed files with 160 additions and 0 deletions
68
stacks/blinko/README.md
Normal file
68
stacks/blinko/README.md
Normal file
|
|
@ -0,0 +1,68 @@
|
|||
# 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=<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:
|
||||
|
||||
```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
|
||||
Loading…
Add table
Add a link
Reference in a new issue