Deploy command
Section titled “Deploy command”From the monorepo root:
pnpm deploy:backendOr from backend/:
pnpm fly:deployConfiguration
Section titled “Configuration”backend/fly.toml: app name, region, health checks, VM sizebackend/Dockerfile: Directus base image + extensionsbackend/start-with-migrate.sh: runs migrations on startup
Secrets
Section titled “Secrets”Set via Fly CLI:
fly secrets set KEY=value -a real-ireland-appRequired secrets include database password, storage credentials, and KEY/SECRET for Directus. Prefer Fly secrets over plain [env] in fly.toml for sensitive values.
Health check
Section titled “Health check”Fly probes GET /server/health on port 8055.