Operations
Health checks
Configure explicit endpoints or let Phelix select a safe fallback tier.
Configure health
phelix health set myapp --path /health --interval 10s --retries 3 --mode auto
phelix health add myapp --name "API" --url https://api.example.com/health
phelix health list myappDeploy health tiers
| Tier | Trigger | Alive means |
|---|---|---|
| 1 | Explicit --path | HTTP 2xx |
| 2 | HTTP app without path | Any HTTP response |
| 3 / TCP | tcp-only or non-HTTP | Port accepts connections |
| 3 / PID | none or worker | Process still exists |
The --mode flag on health set controls the fallback strategy: auto (default), http, tcp-only, or none.
Watch status
phelix health status myapp --watch
phelix health remove myapp --name "API"--watch renders a live terminal dashboard that updates as health state changes.