# SousChef Docker Environment Configuration
# Copy this file to .env and modify the values for your setup

# AI Configuration
# Supported providers: "Anthropic (Claude)", "OpenAI (GPT)", "IBM Watsonx", "Red Hat Lightspeed", "Local Model"
SOUSCHEF_AI_PROVIDER=Anthropic (Claude)
SOUSCHEF_AI_MODEL=claude-3-5-sonnet-20241022
SOUSCHEF_AI_API_KEY=your-api-key-here
SOUSCHEF_AI_BASE_URL=
SOUSCHEF_AI_PROJECT_ID=
SOUSCHEF_AI_TEMPERATURE=0.7
SOUSCHEF_AI_MAX_TOKENS=4000

# Chef Server Configuration (optional)
# Configure your Chef Server connection for dynamic inventory generation and node queries
# CHEF_SERVER_URL=https://chef.example.com
# CHEF_NODE_NAME=my-node

# Streamlit Configuration (optional - defaults are usually fine)
# STREAMLIT_SERVER_PORT=9999
# STREAMLIT_SERVER_ADDRESS=0.0.0.0
# STREAMLIT_SERVER_HEADLESS=true

# Database configuration (PostgreSQL by default)
# SOUSCHEF_DB_BACKEND=postgres
SOUSCHEF_DB_HOST=postgres
SOUSCHEF_DB_PORT=5432
SOUSCHEF_DB_NAME=souschef
SOUSCHEF_DB_USER=souschef
SOUSCHEF_DB_PASSWORD=change-me
SOUSCHEF_DB_SSLMODE=require
# For local development against a PostgreSQL instance without TLS, you may override:
# SOUSCHEF_DB_SSLMODE=disable
SOUSCHEF_DB_DSN=

# To use SQLite instead of PostgreSQL:
#   1. Set SOUSCHEF_DB_BACKEND=sqlite
#   2. Optionally set SOUSCHEF_DB_PATH=/tmp/.souschef/data/souschef.db
#
# SOUSCHEF_DB_BACKEND=sqlite
# SOUSCHEF_DB_PATH=/tmp/.souschef/data/souschef.db

# Blob storage configuration (local by default)
# SOUSCHEF_STORAGE_BACKEND=local
# SOUSCHEF_S3_BUCKET=souschef
# SOUSCHEF_S3_REGION=us-east-1
# SOUSCHEF_S3_ENDPOINT=http://minio:9000
SOUSCHEF_S3_ACCESS_KEY=change-me
SOUSCHEF_S3_SECRET_KEY=change-me

# Workspace root for file access controls (optional)
# Defaults to the current working directory if not set
# SOUSCHEF_WORKSPACE_ROOT=/path/to/your/cookbooks

# Docker Compose Volume Configuration
# Configure persistent storage paths for containers (relative or absolute paths)
# These directories will be created automatically if they don't exist
# Defaults are relative to the docker-compose.yml location
SOUSCHEF_DATA_DIR=./data/souschef
SOUSCHEF_STORAGE_DIR=./data/storage
POSTGRES_DATA_DIR=./data/postgres
MINIO_DATA_DIR=./data/minio

# Other Configuration (if needed)
# PYTHONPATH=/app
