Files
logwatch/docker-compose.yml
LogWatch 02968c6288
Some checks failed
Build & Push Docker Image / build (push) Failing after 6s
feat: web UI + SQLite storage + FastAPI backend
- app.py: unified app – ntfy subscriber runs as background thread,
  FastAPI serves REST API (/api/messages) and static frontend
- static/index.html: terminal-style notification table with
  sortable columns, drag & drop column reorder, column visibility
  toggle (localStorage), text search, forwarded-only filter,
  auto-refresh every 30s
- All ntfy fields stored: id, received_at, ntfy_time, topic,
  title, message, priority, tags, forwarded
- /data volume for persistent SQLite DB
- Port 8000 exposed

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-23 17:02:11 +01:00

21 lines
548 B
YAML

services:
logwatch:
build: .
image: logwatch:latest
container_name: logwatch
restart: unless-stopped
ports:
- "${PORT:-8000}:8000"
volumes:
- logwatch_data:/data
environment:
- SOURCE_URL=${SOURCE_URL:-https://ntfy.albert-zangerl.com/albert}
- TARGET_URL=${TARGET_URL:-https://ntfy.albert-zangerl.com/wichtig}
- TARGET_TOKEN=${TARGET_TOKEN:-}
- LOG_LEVEL=${LOG_LEVEL:-INFO}
- RECONNECT_DELAY=${RECONNECT_DELAY:-10}
- DB_PATH=/data/logwatch.db
volumes:
logwatch_data: