-
Notifications
You must be signed in to change notification settings - Fork 0
Deployment
cp -n .env.example .env
docker compose up -d --buildPersistent state: host directory ./data → /app/data (products, pipeline DB, secrets, LLM logs).
./scripts/deploy.sh --public-url https://magic-ai-factory.comFor magic-ai-factory.com, ensure .env contains AIFACTORY_DEMO_READONLY=1 (append-only via fill_production_env.py when using --public-url, or set manually). See Public-Demo.
Uses scripts/fill_production_env.py to append only missing keys:
-
NEXT_PUBLIC_SITE_URL,AIFACTORY_CORS_ORIGINS -
AIFACTORY_FIREWALL_RULES_FERNET_KEY(when possible) -
AIFACTORY_SANDBOX_PREVIEW_NETWORK_ISOLATION=1default
Then docker compose build + up -d app.
Production: magic-ai-factory.com — nginx → Compose 9080.
Full notes: docs/production-domain.md
Federation hub on https://modelmarket.dev (nginx :443 → Docker hub 127.0.0.1:9083).
sudo CERTBOT_EMAIL=you@example.com ./scripts/setup-modelmarket-ssl.shOr: docs/production-modelmarket-dev.md — certbot + certbot.timer auto-renewal.
DNS: modelmarket.dev and www → same host as the factory.
After DevOps stage: Vercel / Netlify / Cloudflare Pages tokens in .env and data/state/.../auto_publish.json.
Guide: docs/auto-publish.md
Railway / Fly / Cloud Run layout for full_software products:
docs/deploy-full-software-cloud.md
YAML fragments + admin overlay — see docs/configuration.md and wiki Documentation-Index.
curl -s http://127.0.0.1:9081/api/health
docker compose ps appEntrypoint watchdog restarts uvicorn on zombie/dead health failures.
Ecosystem
Start
Operate
Develop
Help
Repo docs