oliver-metadata-tool/.env.example
SamoilenkoVadym 3deaa5ef40 Initial commit: Oliver Metadata Tool (FastAPI)
Complete Flask → FastAPI migration with:
- FastAPI app with session auth, Azure AD SSO, rate limiting
- SQLite-backed session store (survives restarts)
- Bulk AI metadata generation with SSE progress
- Admin panel (user management, audit log, AI usage)
- Subpath deployment support (ROOT_PATH config)
- Docker + deploy.sh for production deployment
- Test suite (auth, upload, templates, imports, admin, sessions)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-02-09 21:23:42 +00:00

29 lines
1 KiB
Text

# Solventum Image Metadata Tool — Environment Configuration
# Copy this file to .env and fill in your secrets:
# cp .env.example .env
# === Required ===
# Generate with: python3 -c "import secrets; print(secrets.token_hex(32))"
SECRET_KEY=CHANGE_ME_GENERATE_A_RANDOM_KEY
DOCKER_MODE=true
# Subpath prefix (must match Apache reverse proxy config, no trailing slash)
ROOT_PATH=/solventum-image-metadata
# === Azure AD / SSO ===
AZURE_TENANT_ID=e519c2e6-bc6d-4fdf-8d9c-923c2f002385
AZURE_CLIENT_ID=9079054c-9620-4757-a256-23413042f1ef
AZURE_CLIENT_SECRET=YOUR_AZURE_CLIENT_SECRET_HERE
# Must match Azure AD App Registration > Authentication > Redirect URIs exactly
REDIRECT_URI=https://ai-sandbox.oliver.solutions/solventum-image-metadata/auth/callback
# === OpenAI (optional — for AI metadata generation) ===
OPENAI_API_KEY=
# === Admin ===
# This email will be auto-created as admin on first startup (SSO login)
SUPERADMIN_EMAIL=vadymsamoilenko@oliver.agency
# === Options ===
ENABLE_TEST_USER=false
HTTPS_ONLY=true
DEBUG=false