.data/<env>/ directory, and its own public ports. Fox lives only in dev; staging and live are human-only.
The environment model
Fromvulpy.yaml, the supported environments today are dev, staging, and live. Each environment has:
environments/<name>/.env, the source of truth for its configuration.data/<name>/, its persistent Docker state- Its own compose project name so containers do not collide
sleeping: true (it wakes on demand). Live is sleeping: false. Staging and any additional production-like environments use the production compose overlay and must define unique HTTP and HTTPS ports if they share a host.
Lifecycle commands
Day-2 environment commands run as the deploy user (sudo -iu vulpy-commerce), never as root.
Add a staging environment
1
Create the environment
environments/staging/, wires the Compose overlay, and asks for a domain.2
Point DNS or use a preview host
Set
pnpm vulpy env set-domain staging --domain staging.example.com, or leave the default preview host.3
Bring it up
Deploy to a VPS
Bootstrap Ubuntu 24.04, install Fox and dev, then add live.
Go live
Add live, point DNS, and cut over from preview to apex.