summaryrefslogtreecommitdiffstats
path: root/cmd/ship/host_v2.go
Commit message (Collapse)AuthorAgeFilesLines
* fix: Caddy install permission issue with gpg dearmorClawd44 hours1-3/+4
|
* fix: resolve build errors with v1 codeClawd44 hours1-10/+7
| | | | | | | - Rename validateName to validateNameV2 to avoid conflict - Fix host status to print JSON directly (remove unused resp) Builds successfully now
* feat(v2): implement ship host init with JSON outputClawd45 hours1-0/+367
- host_v2.go: full host initialization with JSON responses - Installs Caddy, Docker on Ubuntu/Debian - Creates /etc/ship/{env,ports,ttl} directories - Installs TTL cleanup timer (hourly systemd timer) - Cleanup script removes expired deploys completely - Preserves git deploy setup functionality (optional) - Added ErrInvalidArgs error code Critical 'host init' functionality preserved for v2