# Django Username and Password for Initial Admin Login
# CHANGE THESE BEFORE FIRST BOOT OF OPENCONTRACTS
# ------------------------------------------------------------------------------
DJANGO_SUPERUSER_PASSWORD=Openc0ntracts_def@ult
DJANGO_SUPERUSER_EMAIL=support@opensource.legal
DJANGO_SUPERUSER_USERNAME=admin

# General
# ------------------------------------------------------------------------------
DJANGO_DEBUG=True
USE_DOCKER=yes
IPYTHONDIR=/app/.ipython
# IMPORTANT: Generate a unique secret key for production!
# You can generate one with: python -c "import secrets; print(secrets.token_urlsafe(50))"
DJANGO_SECRET_KEY=your-secret-key-change-this-in-production
DJANGO_ADMIN_URL=admin/ItChL90Tnz71PZARMPtmZifuQczgho6l/
DJANGO_ALLOWED_HOSTS=django,127.0.0.1,localhost,0.0.0.0

# Application Configuration
# ------------------------------------------------------------------------------
USE_ANALYZER=True
CALLBACK_ROOT_URL_FOR_ANALYZER=http://localhost:8000

# AWS
# ------------------------------------------------------------------------------
USE_AWS=false

# Redis
# ------------------------------------------------------------------------------
REDIS_URL=redis://redis:6379/0

# Celery
# ------------------------------------------------------------------------------

# Flower
CELERY_FLOWER_USER=admin
CELERY_FLOWER_PASSWORD=changeme123

# AUTH0
# ------------------------------------------------------------------------------
USE_AUTH0=False

# LLM SETTINGS
# ------------------------------------------------------------------------------
OPENAI_API_KEY=<YourKeyHere>
OPENAI_MODEL=gpt-4o

# Microservice URLs
# ------------------------------------------------------------------------------
EMBEDDINGS_MICROSERVICE_URL=http://vector-embedder:8000
DOCLING_PARSER_SERVICE_URL=http://docling-parser:8000/parse/

# Docling
# ------------------------------------------------------------------------------
DOCLING_MODELS_PATH=/models/docling
SENTENCE_TRANSFORMER_MODELS_PATH=/models/sentence-transformers

# Warp-Ingest parser (optional alternative PDF parser; deterministic, rule-based)
# Run the official ghcr.io/open-source-legal/warp-ingest image as the
# `warp-ingest` service. See docs/pipelines/warp_ingest_parser.md.
# ------------------------------------------------------------------------------
WARP_INGEST_PARSER_SERVICE_URL=http://warp-ingest:5001/api/parse
# Must match the WARP_API_KEY set on the warp-ingest container. Warp-Ingest always
# requires a key (its own default is "abc123"), so a blank value yields a 401.
WARP_INGEST_API_KEY=
