docs: Create vTiger & Simply-CRM integration setup guide with credential requirements feat: Implement ticket system enhancements including relations, calendar events, templates, and AI suggestions refactor: Update ticket system migration to include audit logging and enhanced email metadata
62 lines
2.6 KiB
Plaintext
62 lines
2.6 KiB
Plaintext
# =====================================================
|
|
# POSTGRESQL DATABASE - Local Development
|
|
# =====================================================
|
|
DATABASE_URL=postgresql://bmc_hub:bmc_hub@postgres:5432/bmc_hub
|
|
|
|
# Database credentials (bruges af docker-compose)
|
|
POSTGRES_USER=bmc_hub
|
|
POSTGRES_PASSWORD=bmc_hub
|
|
POSTGRES_DB=bmc_hub
|
|
POSTGRES_PORT=5433 # Changed from 5432 to avoid conflicts with other services
|
|
|
|
# =====================================================
|
|
# API CONFIGURATION
|
|
# =====================================================
|
|
API_HOST=0.0.0.0
|
|
API_PORT=8001 # Changed from 8000 to avoid conflicts with other services
|
|
ENABLE_RELOAD=false # Set to true for live code reload (causes log spam in Docker)
|
|
|
|
# =====================================================
|
|
# SECURITY
|
|
# =====================================================
|
|
SECRET_KEY=change-this-in-production-use-random-string
|
|
CORS_ORIGINS=http://localhost:8000,http://localhost:3000
|
|
|
|
# =====================================================
|
|
# LOGGING
|
|
# =====================================================
|
|
LOG_LEVEL=INFO
|
|
LOG_FILE=logs/app.log
|
|
|
|
# =====================================================
|
|
# GITHUB/GITEA REPOSITORY (Optional - for reference)
|
|
# =====================================================
|
|
# Repository: https://g.bmcnetworks.dk/ct/bmc_hub
|
|
GITHUB_REPO=ct/bmc_hub
|
|
|
|
# =====================================================
|
|
# e-conomic Integration (Optional)
|
|
# =====================================================
|
|
# Get credentials from e-conomic Settings -> Integrations -> API
|
|
ECONOMIC_API_URL=https://restapi.e-conomic.com
|
|
ECONOMIC_APP_SECRET_TOKEN=your_app_secret_token_here
|
|
ECONOMIC_AGREEMENT_GRANT_TOKEN=your_agreement_grant_token_here
|
|
|
|
# 🚨 SAFETY SWITCHES - Beskytter mod utilsigtede ændringer
|
|
ECONOMIC_READ_ONLY=true # Set to false ONLY after testing
|
|
ECONOMIC_DRY_RUN=true # Set to false ONLY when ready for production writes
|
|
# =====================================================
|
|
# vTiger Cloud Integration (Required for Subscriptions)
|
|
# =====================================================
|
|
# Get credentials from vTiger Cloud -> Settings -> Integration -> Webservices
|
|
VTIGER_URL=https://your-instance.od2.vtiger.com
|
|
VTIGER_USERNAME=your_vtiger_username
|
|
VTIGER_API_KEY=your_vtiger_api_key
|
|
|
|
# =====================================================
|
|
# Simply-CRM / Old vTiger On-Premise (Legacy)
|
|
# =====================================================
|
|
# Old vTiger installation (if different from cloud)
|
|
OLD_VTIGER_URL=http://your-old-vtiger-server.com
|
|
OLD_VTIGER_USERNAME=your_old_username
|
|
OLD_VTIGER_API_KEY=your_old_api_key |