freeleaps-ops/apps/gitea-webhook-ambassador-python/env.example

42 lines
1009 B
Plaintext

# Application configuration
APP_NAME=Gitea Webhook Ambassador
DEBUG=false
HOST=0.0.0.0
PORT=8000
# Database configuration
DATABASE_URL=sqlite:///./webhook_ambassador.db
# For production, use PostgreSQL:
# DATABASE_URL=postgresql://webhook_user:webhook_password@localhost:5432/webhook_ambassador
# Redis configuration
REDIS_URL=redis://localhost:6379/0
REDIS_PASSWORD=
REDIS_DB=0
# Jenkins configuration
JENKINS_USERNAME=your_jenkins_username
JENKINS_TOKEN=115127e693f1bc6b7194f58ff6d6283bd0
JENKINS_TIMEOUT=30
# Security configuration
SECURITY_SECRET_KEY=r6Y@QTb*7BQN@hDGsN
SECURITY_WEBHOOK_SECRET_HEADER=X-Gitea-Signature
SECURITY_RATE_LIMIT_PER_MINUTE=100
# Logging configuration
LOGGING_LEVEL=INFO
LOGGING_FORMAT=json
LOGGING_FILE=
# Queue configuration
QUEUE_MAX_CONCURRENT=10
QUEUE_MAX_RETRIES=3
QUEUE_RETRY_DELAY=60
QUEUE_PRIORITY_LEVELS=3
# Deduplication configuration
DEDUPLICATION_ENABLED=true
DEDUPLICATION_WINDOW_SECONDS=300
DEDUPLICATION_STRATEGY=commit_branch
DEDUPLICATION_CACHE_TTL=3600