Independent FastAPI backend for the MaskanX agentic growth platform. Includes the agent runtime, MCP client integrations (Meta Ads, LinkedIn, HubSpot, Tavily, Exa, xAI, Citedy, image generation), PostgreSQL storage for chats and cron jobs, provider and secret management, and the CLI. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
66 lines
2.0 KiB
Bash
66 lines
2.0 KiB
Bash
# 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
|