Aktueller Stand

This commit is contained in:
2026-01-22 19:05:45 +01:00
parent 85dee61a4d
commit e280e4eadb
1967 changed files with 397327 additions and 74093 deletions

37
.env.example Normal file
View File

@@ -0,0 +1,37 @@
# --- Ports (host bindings) ---
API_PORT=8201
WEB_PORT=3201
# Public API URL used by the frontend (browser). Set to http(s)://<host>:<api-port>
VITE_API_URL=http://localhost:8201
# Allow Vite dev server to accept requests for these hostnames (comma-separated)
VITE_ALLOWED_HOSTS=localhost,docker
# If running behind a reverse proxy (e.g. Nginx Proxy Manager), enable this
TRUST_PROXY=false
# --- Database / Queue ---
DATABASE_URL=postgresql://mailcleaner:mailcleaner@postgres:5432/mailcleaner
REDIS_URL=redis://redis:6379
# JWT signing secret for auth
JWT_SECRET=dev-change-me
# --- Google OAuth (Gmail) ---
GOOGLE_CLIENT_ID=
GOOGLE_CLIENT_SECRET=
# Must match the OAuth redirect URL configured in Google Cloud Console
GOOGLE_REDIRECT_URI=http://localhost:8201/oauth/gmail/callback
# --- Export jobs ---
# Where export ZIPs are stored by the worker
EXPORT_DIR=/tmp/mailcleaner-exports
# How long export files are kept (hours)
EXPORT_TTL_HOURS=24
# --- Seed admin account ---
SEED_ADMIN_EMAIL=admin@simplemailcleaner.local
SEED_ADMIN_PASSWORD=change-me-now
SEED_TENANT=Default Tenant
SEED_TENANT_ID=seed-tenant