| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
| |
Removed:
- GIT_AND_GOMOD_PLAN.md (old planning)
- PLAN_v0.2.0.md (old planning)
- PROGRESS.md (v2 progress tracking, complete)
- TODO.md (all items fixed)
- ship-new binary (added to gitignore)
|
| |
|
|
|
|
|
| |
Don't overwrite Caddyfile if it already exists. This preserves
manual customizations (NIP-05 routes, custom headers, etc.).
First deploy generates Caddyfile, subsequent deploys leave it alone.
|
| |
|
|
|
| |
Read actual domain from Caddyfile instead of assuming subdomain.
Works for both apps and static sites.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Port allocation:
- Use atomic flock-based allocation via /etc/ship/next_port
- Prevents race conditions when multiple deploys run concurrently
- Each app still gets its port stored in /etc/ship/ports/<name>
Docker container port:
- Add --container-port flag (default 80)
- Template now uses {{.ContainerPort}} instead of hardcoded 80
- Supports containers that listen on 8080, 3000, etc.
|
| |
|
|
|
|
|
|
|
| |
- Delete all v1 commands (deploy, init, list, status, remove, etc.)
- Delete v1 env/ and host/ subcommand directories
- Simplify state.go: remove NextPort, Apps, AllocatePort, etc.
- Local state now only tracks default_host + base_domain per host
- Ports and deploys are tracked on the server (/etc/ship/ports/)
- host init now creates minimal state.json
|
| |
|