Arguments
Flags
The
--fixture-* flags only take effect for apps with access_mode = "accounts"; against any other mode floo dev warns and skips the proxy. See Add User Auth → Local development for the full walkthrough.
What happens
- Resolve — reads
floo.app.tomland collects all services with adev_command - Session — creates a dev session via the floo API
- Postgres auth — if the app has managed Postgres, your public IP is authorized for direct connections
- Env injection — global + per-service env vars are decrypted and injected into each service process. Managed service credentials follow the same
env.managedattachment plan as deploy;DATABASE_URLis rewritten to point to the Cloud SQL public IP when Postgres access is authorized. - Migrations — if
migrate_commandis set for a service, it runs before that service starts - Start — each service’s
dev_commandis spawned in itspathdirectory with a colored prefix in the terminal - Cleanup — on Ctrl+C, all child processes are terminated and the dev session is deleted
Requirements
floo.app.tomlmust exist in the project directory- Every service must have
dev_command,path, andportset - Each service must use a unique port
Example
Discovery vars
Each service receives env vars pointing to the other services running locally:
For example, a
web service in a web + api app receives API_URL=http://localhost:8000 and NEXT_PUBLIC_API_URL=http://localhost:8000.