# Jana MCP Server - Environment Configuration
# Copy this file to .env and fill in the values
# ============================================
# Jana Backend Configuration (Required)
# ============================================
# Backend API URL
# - Standalone mode: http://host.docker.internal:8000
# - Jana stack mode: http://web:8000 (set via docker-compose.override.yml)
JANA_BACKEND_URL=http://host.docker.internal:8000
# Authentication (provide either username/password OR token)
JANA_USERNAME=your_username
JANA_PASSWORD=your_password
# OR use pre-obtained token
# JANA_TOKEN=your_auth_token
# Request timeout in seconds
JANA_TIMEOUT=30
# Host header override (for Docker networking when ALLOWED_HOSTS is restrictive)
# When connecting to Jana backend via docker hostname (e.g., jana-web-1),
# Django may reject requests unless Host header matches ALLOWED_HOSTS.
# Set this to 'localhost' to bypass:
# JANA_HOST_HEADER=localhost
# ============================================
# Server Configuration (Optional)
# ============================================
# Server port (default: 8080)
MCP_SERVER_PORT=8080
# Logging level: DEBUG, INFO, WARNING, ERROR
LOG_LEVEL=INFO