Files
jobbi-bewerbung/.env.example
T
thomasandClaude 88875dbc33 Add third-party REST API (/api/v1) + Swagger UI and Jobangebote page
- REST API under /api/v1 with X-API-Key auth (API_TOKEN), documented with
  OpenAPI 3.0; Swagger UI at /swagger, spec at /swagger.json
- Endpoints: applications CRUD + timeline, attachments/emails download,
  generation trigger/status, settings, statistics, export, templates, joboffers
- Jobangebote page (/jobangebote) listing offers ingested via the REST API,
  with "Als Bewerbung übernehmen" and delete actions; header nav + badge
- jobangebote table with (quelle, external_id) upsert for third-party ingestion

Co-Authored-By: Claude <noreply@anthropic.com>
2026-07-03 21:30:33 +02:00

35 lines
1.3 KiB
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.
# Kopiere diese Datei nach .env und trage deinen Schlüssel ein.
# .env wird NICHT eingecheckt (siehe .gitignore).
# Ollama Cloud API-Schlüssel https://ollama.com/settings/keys
OLLAMA_API_KEY=
# Optional Cloud-Modell (Standard: gpt-oss:120b)
# OLLAMA_MODEL=gpt-oss:120b
# Optional anderer Host (z. B. lokale Ollama-Instanz: http://localhost:11434)
# OLLAMA_HOST=https://ollama.com
# --- E-Mail (SMTP-Versand + IMAP-Empfang) ---
# Versand läuft über die authentifizierte Submission des eigenen Mailservers,
# damit dieser DKIM signiert und die reputable IP/PTR nutzt (SPF/DMARC-Alignment).
# Ohne diese Angaben ist der E-Mail-Teil deaktiviert.
MAIL_HOST=mail.example.com
MAIL_SMTP_PORT=587
MAIL_IMAP_PORT=993
MAIL_USER=name@example.com
MAIL_PASSWORD=
MAIL_FROM_NAME=Vorname Nachname
MAIL_FROM=name@example.com
# IMAP-Postfach + Abrufintervall (ms) für neue Antwortmails
MAIL_IMAP_MAILBOX=INBOX
MAIL_POLL_MS=180000
# --- REST-API für Drittanbietersoftware (/api/v1) ---
# Ist dieser Schlüssel gesetzt, ist die API aktiv und erwartet den Wert im
# Header "X-API-Key" jedes Requests. Ohne Schlüssel antwortet die API (bis auf
# /health) mit 503. Swagger-UI läuft unter /swagger, das OpenAPI-Dokument unter
# /swagger.json beides ist auch ohne Token erreichbar.
# Beispiel: API_TOKEN=dein_geheimer_schluessel
API_TOKEN=