jira-ai-fixer/.env.example

40 lines
1.0 KiB
Plaintext

# Server
JIRA_URL=https://gojira.yourcompany.com
JIRA_TOKEN=your_jira_token
JIRA_WEBHOOK_SECRET=random_secret_for_webhook_validation
BITBUCKET_URL=https://bitbucket.yourcompany.com
BITBUCKET_TOKEN=your_bitbucket_token
# LLM (Production - Azure OpenAI)
AZURE_OPENAI_ENDPOINT=https://your-resource.openai.azure.com
AZURE_OPENAI_KEY=your_azure_key
AZURE_OPENAI_MODEL=gpt-4o
AZURE_OPENAI_EMBEDDING_MODEL=text-embedding-3-large
# LLM (Development - OpenRouter Free)
OPENROUTER_API_KEY=your_openrouter_key
OPENROUTER_MODEL=meta-llama/llama-3.3-70b-instruct:free
# Use Azure (production) or OpenRouter (development)
LLM_PROVIDER=openrouter
# Database
DATABASE_URL=postgresql://jira:jira@localhost:5432/jira_fixer
# For development with SQLite:
# DATABASE_URL=sqlite:///./jira_fixer.db
# Redis
REDIS_URL=redis://localhost:6379
# Embeddings (local MiniLM or Azure)
EMBEDDING_PROVIDER=local
# EMBEDDING_PROVIDER=azure
# Portal
PORTAL_SECRET_KEY=change_this_to_random_string
PORTAL_ADMIN_EMAIL=admin@example.com
# Logging
LOG_LEVEL=INFO