Production Docker profile Build the production target from the reviewed source, push it only through your approved registry workflow, and set IPHUB_IMAGE to its immutable image digest. Local builds and signature verification do not publish or deploy an image. Set these Compose variables privately before running compose.production.yml: IPHUB_IMAGE: verified image digest IPHUB_ENV_FILE: private apps/hub/.env configuration using runtime SQL privileges IPHUB_MIGRATION_ENV_FILE: separate owner-only configuration using migration SQL privileges IPHUB_PUBLIC_ASSETS: absolute public/ directory from the same verified hub release The private environment files must stay outside the source tree, document root and every application/worker bind mount. They are supplied as process environment variables. Migration credentials are available only to the tools-profile job. Use deploy/database/ROLES.txt for runtime versus maintenance SQL grants; the maintenance process needs the bounded retention/archive privileges documented there. Separate maintenance credentials can be provided with a private Compose override for its env_file. Never grant the web application schema ownership. This profile expects qualified external SQL and separate state/cache Redis services. Use TLS and Redis ACLs, private storage, real SMTP, the approved source agreement and actual independent exits. Set APP_ENV=production, APP_DEBUG=false, HUB_ALLOW_FIXTURE_PROVIDER=false, secure host-only sessions and the manual or Stripe payment adapter. Copy apps/hub/.env.example as the configuration checklist. The two Nginx listeners bind host loopback only. Put separately configured TLS ingress in front of them, using distinct public/coordination origins and explicit trusted proxy ranges. Public ingress must never expose the coordination listener. Workers reach coordination through its authenticated HTTPS origin. Configure the Nginx listener and application allowed hosts for your actual domain names. From a trusted reviewed checkout: docker compose -f deploy/docker/compose.production.yml config --quiet docker compose -f deploy/docker/compose.production.yml run --rm migrate docker compose -f deploy/docker/compose.production.yml up -d hub web maintenance health scheduler docker compose -f deploy/docker/compose.production.yml exec hub php artisan hub:preflight --production The application image and all normal PHP processes run as UID/GID 33. Nginx runs as UID/GID 101. Filesystems are read-only except named data/cache volumes and bounded temporary storage; capabilities are dropped and privilege escalation is disabled. Existing data volumes must be owned by the corresponding runtime user. Do not recursively change unrelated host directories to repair permissions. Run operator setup, MFA enrollment, provider/plan configuration, state recovery, backup restoration, ingress/security and sustained-load gates before enabling customer traffic. A successful Compose syntax check is not production approval.