.env.example
Set these on your host before deploying. Each platform has an “Environment Variables” section in the deploy flow. (showing first 20, more exist in .env.example)
POSTGRES_DB
Database
POSTGRES_USER
POSTGRES_PASSWORD
secret
POSTGRES_PORT
DATABASE_URL
secret
APP_ENV
Server APP_ENV gates production safety checks. Docker self-host pins APP_ENV to "production" by default. Local dev can leave it unset. See…
MULTICA_DEV_VERIFICATION_CODE
Optional local/testing shortcut. Empty by default, so there is no fixed verification code. Without RESEND_API_KEY, generated codes print to…
PORT
BACKEND_PORT
Docker Compose consumes flat port values. Set BACKEND_PORT directly to override the backend host port.
FRONTEND_PORT
Optional aliases for local/self-host backend port helpers outside compose. API_PORT=8080 SERVER_PORT=8080
FRONTEND_ORIGIN
Derived by docker-compose.selfhost.yml / local scripts from FRONTEND_PORT. Set explicitly only when serving frontend on a different…
JWT_SECRET
secret
Prometheus metrics are disabled by default. When enabled, bind to loopback unless you protect the listener with private networking,…
MULTICA_APP_URL
Derived by Makefile / local scripts from the backend port. Set explicitly only when the daemon reaches the API through a different URL.…
MULTICA_PUBLIC_URL
Public URL the API is reachable at from the open internet (no trailing slash). Used to mint absolute webhook URLs for autopilot webhook…
MULTICA_TRUSTED_PROXIES
Comma-separated CIDR list of reverse proxies whose X-Forwarded-For / X-Real-IP headers the per-IP webhook rate limiter is allowed to trust.…
MULTICA_DAEMON_CONFIG
MULTICA_WORKSPACE_ID
MULTICA_DAEMON_ID
MULTICA_DAEMON_DEVICE_NAME
MULTICA_DAEMON_POLL_INTERVAL
brew install flyctl && fly launch --from https://github.com/multica-ai/multica
curl -L https://fly.io/install.sh | sh && fly launch --from https://github.com/multica-ai/multica
iwr https://fly.io/install.ps1 -useb | iex; fly launch --from https://github.com/multica-ai/multica