Files

66 lines
2.0 KiB
Bash
Raw Permalink Normal View History

2026-08-01 10:28:22 +05:30
# MaskanX Environment Variables
# Copy this file to .env and fill in your values:
# cp .env.example .env
# Citedy API key — get a free key at https://www.citedy.com/developer
# This unlocks 52 SEO/marketing MCP tools and 6 pre-installed skills
CITEDY_API_KEY=
# Telegram bot token — create a bot via https://t.me/BotFather
TELEGRAM_BOT_TOKEN=
# Web UI port (default: 8088)
# MASKANX_PORT=8088
# Browser origins allowed to call this independent backend.
MASKANX_CORS_ORIGINS=http://127.0.0.1:5173,http://localhost:5173
# Enabled messaging channels (default: all)
# MASKANX_ENABLED_CHANNELS=discord,dingtalk,feishu,qq,console,telegram
# Optional: Tavily search API key (https://tavily.com)
# TAVILY_API_KEY=
# Optional: GitHub token to avoid rate limits when fetching skills
# GITHUB_TOKEN=
# Optional: Exa search API key (https://exa.ai)
# EXA_API_KEY=
# Optional: XAI (Grok) API key for xai_search MCP
# XAI_API_KEY=
# Logging level: DEBUG, INFO, WARNING, ERROR
# LOG_LEVEL=INFO
# PostgreSQL Database Configuration
# Local default:
# DB_HOST=localhost
# Docker Compose default:
# DB_HOST=postgres
# Production:
# set these to your managed Postgres credentials, or set DATABASE_URL.
MASKANX_STORAGE_BACKEND=postgres
DB_HOST=localhost
DB_PORT=5432
DB_NAME=campaign
DB_USER=postgres
DB_PASSWORD=postgres
DB_SSLMODE=prefer
# Docker-only host port. Leave DB_PORT=5432 for the app container.
# POSTGRES_PUBLIC_PORT=5432
# Optional single-url alternative. If set, this overrides DB_* values.
# DATABASE_URL=postgresql://postgres:postgres@localhost:5432/campaign?sslmode=prefer
# Optional first-party Maskan CRM connection.
# These can also be configured per company in Settings > Maskan CRM.
# MASKAN_CRM_API_URL=http://127.0.0.1:8091/api/v1
# MASKAN_CRM_WEB_URL=http://127.0.0.1:5174
# MASKAN_CRM_INTEGRATION_KEY=
# --- For running live tests (tests/live_aom_test.py) ---
# QWEN_API_KEY=
# QWEN_API_URL=https://dashscope-intl.aliyuncs.com/compatible-mode/v1/chat/completions
# QWEN_MODEL=qwen-plus