Files
upaas/internal/database/migrations/007_add_healthcheck_command.sql
user e2522f2017
All checks were successful
Check / check (pull_request) Successful in 1m53s
feat: add custom health check commands per app
Add configurable health check commands per app via a new
'healthcheck_command' field. When set, the command is passed
to Docker as a CMD-SHELL health check on the container.
When empty, the image's default health check is used.

Changes:
- Add migration 007 for healthcheck_command column on apps table
- Add HealthcheckCommand field to App model with full CRUD support
- Add buildHealthcheck() to docker client for CMD-SHELL config
- Pass health check command through CreateContainerOptions
- Add health check command input to app create/edit UI forms
- Extract optionalNullString helper to reduce handler complexity
- Update README features list

closes #81
2026-03-17 02:11:08 -07:00

3 lines
97 B
SQL

-- Add custom health check command per app
ALTER TABLE apps ADD COLUMN healthcheck_command TEXT;