Files
takeyourmeds/.env.example
T
Frank Schwenk 88bdf6f34b feat: overhaul with modular API, agent endpoints, migrations, backup and tests
- Split monolithic app.py into server/api/ routers
- Add Pydantic schemas for input validation
- Add /agent/* API with separate AGENT_TOKEN auth
- Replace static schema.sql with versioned migrations (datenerhaltend)
- Add tools/backup_db.py for SQLite backups
- Add Dockerfile HEALTHCHECK and compose.yml AGENT_TOKEN env
- Add pytest tests for user and agent API
- Update README with API docs and deployment safety notes
- Bump version to 1.2.0
2026-09-21 12:46:44 +02:00

20 lines
605 B
Bash
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# PIN für Login (4–6 Ziffern empfohlen)
APP_PIN=1234
# JWT — zufälligen langen String generieren (openssl rand -hex 32)
JWT_SECRET=change-me-to-a-long-random-string
JWT_EXPIRE_DAYS=90
# Agent API — zufälliger langer String für externe Agents (openssl rand -hex 32)
# Leer lassen deaktiviert /agent/* Endpunkte.
AGENT_TOKEN=
# VAPID keys für Web Push — generieren mit: python tools/gen_vapid.py
VAPID_PRIVATE_KEY=
VAPID_PUBLIC_KEY=
VAPID_CLAIMS_EMAIL=mailto:admin@schwenk.online
# OpenRouter (optional — Roast-of-the-Day)
OPENROUTER_API_KEY=
OPENROUTER_MODEL=google/gemini-2.0-flash-001