Source code is now on Bitbucket — IT builds from source directly. Docker Hub and Cloudflare Tunnel are no longer needed. Removed profiles gate from app service so docker compose up -d works without flags. Updated .env.example with organized sections and comments. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
30 lines
1.7 KiB
Text
30 lines
1.7 KiB
Text
# ─── Database ────────────────────────────────────────────
|
|
DATABASE_URL="postgresql://postgres:postgres@localhost:5432/hp_prod_tracker?schema=public"
|
|
DB_PASSWORD=postgres # Change in production
|
|
|
|
# ─── Auth (Microsoft Entra ID SSO) ──────────────────────
|
|
AUTH_SECRET="" # Generate with: openssl rand -base64 32
|
|
AUTH_MICROSOFT_ENTRA_ID_ID="" # Azure AD Application (Client) ID
|
|
AUTH_MICROSOFT_ENTRA_ID_SECRET="" # Azure AD Client Secret
|
|
AUTH_MICROSOFT_ENTRA_ID_TENANT_ID="" # Azure AD Directory (Tenant) ID
|
|
|
|
# ─── Dev Auth Bypass (local development only) ───────────
|
|
# Set to "true" to skip SSO and auto-login as dev admin user.
|
|
# Ignored when NODE_ENV=production.
|
|
DEV_BYPASS_AUTH="true"
|
|
DEV_USER_ID="dev-user-001"
|
|
|
|
# ─── App ─────────────────────────────────────────────────
|
|
NEXT_PUBLIC_APP_URL="http://localhost:3000"
|
|
|
|
# ─── Claude AI (chat assistant — primary provider) ──────
|
|
ANTHROPIC_API_KEY=""
|
|
# ANTHROPIC_MODEL="claude-haiku-4-5-20251001"
|
|
|
|
# ─── Cron / Scheduler ───────────────────────────────────
|
|
CRON_SECRET="" # Generate with: openssl rand -hex 32
|
|
|
|
# ─── Ollama (AI — embeddings, search, chat fallback) ────
|
|
OLLAMA_HOST="http://localhost:11434"
|
|
OLLAMA_EMBED_MODEL="nomic-embed-text"
|
|
OLLAMA_LLM_MODEL="qwen3:1.7b"
|