Files
maskanx_cm_backend/docker-compose.yml
T
AFFAANhandClaude Opus 5 19e1e84fb7 Initial commit: MaskanX backend
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>
2026-08-01 10:28:22 +05:30

54 lines
1.4 KiB
YAML

services:
postgres:
image: postgres:16-alpine
restart: unless-stopped
environment:
POSTGRES_DB: ${DB_NAME:-campaign}
POSTGRES_USER: ${DB_USER:-postgres}
POSTGRES_PASSWORD: ${DB_PASSWORD:-postgres}
ports:
- "${POSTGRES_PUBLIC_PORT:-5432}:5432"
volumes:
- maskanx_postgres:/var/lib/postgresql/data
healthcheck:
test:
[
"CMD-SHELL",
"pg_isready -U ${DB_USER:-postgres} -d ${DB_NAME:-campaign}",
]
interval: 5s
timeout: 5s
retries: 20
api:
build:
context: .
args:
MASKANX_VARIANT: ${MASKANX_VARIANT:-core}
MASKANX_PRELOAD_EMBEDDINGS: ${MASKANX_PRELOAD_EMBEDDINGS:-0}
restart: unless-stopped
depends_on:
postgres:
condition: service_healthy
ports:
- "${MASKANX_PORT:-8088}:8088"
volumes:
- maskanx_working:/app/working
- maskanx_secrets:/app/working.secret
environment:
MASKANX_STORAGE_BACKEND: postgres
MASKANX_PORT: 8088
MASKANX_CORS_ORIGINS: ${MASKANX_CORS_ORIGINS:-http://127.0.0.1:5173,http://localhost:5173}
DB_HOST: postgres
DB_PORT: 5432
DB_NAME: ${DB_NAME:-campaign}
DB_USER: ${DB_USER:-postgres}
DB_PASSWORD: ${DB_PASSWORD:-postgres}
DB_SSLMODE: disable
LOG_LEVEL: ${LOG_LEVEL:-INFO}
volumes:
maskanx_postgres:
maskanx_working:
maskanx_secrets: