docker-coolify
Read docs/agents/stack.md and invoke strict-typescript for automation through the host mechanism, or read its installed entrypoint. Default: Docker Compose local PostgreSQL, app Compose in a Git-backed Coolify application, production PostgreSQL as a separate Coolify resource. A database-in-app-Compose variant is supported when explicitly selected. Setup prepares artifacts; live provisioning, deployment or deletion requires the user's corresponding authorization.
Local infrastructure
Keep compose.infra.yaml separate from development app commands. Pin a supported PostgreSQL major, persist data in a named volume, bind the local port to loopback, configure a healthcheck and wait for readiness in infra:up. infra:down preserves volumes; destructive reset is a separate explicitly requested operation. Migration and generation commands run separately. Use host localhost in local API URLs and service DNS names inside containers; these are different connection contexts.