diff options
| author | bndw <ben@bdw.to> | 2026-02-08 12:32:59 -0800 |
|---|---|---|
| committer | bndw <ben@bdw.to> | 2026-02-08 12:32:59 -0800 |
| commit | a8ad8e934d15d2bf84f942414a89af1d2691adbc (patch) | |
| tree | 82e6765c9d35968b27ac7ee17f5c201a421dc1d3 /cmd/ship/list.go | |
| parent | af109c04a3edd4dcd4e7b16242052442fb4a3b24 (diff) | |
Add git-centric deployment with Docker builds and vanity imports
New deployment model where projects start with a git remote on the VPS.
Pushing to the remote triggers automatic docker build and deploy via
post-receive hooks. The base domain serves Go vanity imports and git
HTTPS cloning via Caddy + fcgiwrap.
- Add `ship init <name>` command to create bare repos and .ship/ config
- Add `ship deploy <name>` command for manual rebuilds
- Extend `ship host init --base-domain` to set up Docker, git user,
fcgiwrap, sudoers, and vanity import infrastructure
- Add git-app and git-static types alongside existing app and static
- Update remove, status, logs, restart, list, and config-update to
handle new types
Diffstat (limited to 'cmd/ship/list.go')
| -rw-r--r-- | cmd/ship/list.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/ship/list.go b/cmd/ship/list.go index 404ca68..a10b2ca 100644 --- a/cmd/ship/list.go +++ b/cmd/ship/list.go | |||
| @@ -40,7 +40,7 @@ func runList(cmd *cobra.Command, args []string) error { | |||
| 40 | fmt.Fprintln(w, "NAME\tTYPE\tDOMAIN\tPORT") | 40 | fmt.Fprintln(w, "NAME\tTYPE\tDOMAIN\tPORT") |
| 41 | for name, app := range apps { | 41 | for name, app := range apps { |
| 42 | port := "" | 42 | port := "" |
| 43 | if app.Type == "app" { | 43 | if app.Type == "app" || app.Type == "git-app" { |
| 44 | port = fmt.Sprintf(":%d", app.Port) | 44 | port = fmt.Sprintf(":%d", app.Port) |
| 45 | } | 45 | } |
| 46 | domain := app.Domain | 46 | domain := app.Domain |
