<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ship.git/internal/templates, branch main</title>
<subtitle>Deploy to your VPS in one command</subtitle>
<id>https://code.northwest.io/ship.git/atom?h=main</id>
<link rel='self' href='https://code.northwest.io/ship.git/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://code.northwest.io/ship.git/'/>
<updated>2026-04-18T21:40:17+00:00</updated>
<entry>
<title>Remove Go implementation — ship is skills-only now</title>
<updated>2026-04-18T21:40:17+00:00</updated>
<author>
<name>Clawd</name>
<email>ai@clawd.bot</email>
</author>
<published>2026-04-18T21:40:17+00:00</published>
<link rel='alternate' type='text/html' href='https://code.northwest.io/ship.git/commit/?id=778bef5ee6941056e06326d1eaaa6956d7307a85'/>
<id>urn:sha1:778bef5ee6941056e06326d1eaaa6956d7307a85</id>
<content type='text'>
The skills/ directory fully replaces the old Go CLI. Drop all Go
source, build files, planning docs, and the stale SECURITY.md
(which described the old git-user push-deploy model that no longer
exists). Trim .gitignore to match the new tree.
</content>
</entry>
<entry>
<title>Fix port collision bug, add --container-port flag</title>
<updated>2026-02-17T15:59:50+00:00</updated>
<author>
<name>Clawd</name>
<email>ai@clawd.bot</email>
</author>
<published>2026-02-17T15:59:50+00:00</published>
<link rel='alternate' type='text/html' href='https://code.northwest.io/ship.git/commit/?id=d97bb6f53eefd2139115d39bca7e17d565222472'/>
<id>urn:sha1:d97bb6f53eefd2139115d39bca7e17d565222472</id>
<content type='text'>
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/&lt;name&gt;

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.
</content>
</entry>
<entry>
<title>Fix Docker port mapping: map host port to container port 80</title>
<updated>2026-02-17T01:18:07+00:00</updated>
<author>
<name>Clawd</name>
<email>ai@clawd.bot</email>
</author>
<published>2026-02-17T01:18:07+00:00</published>
<link rel='alternate' type='text/html' href='https://code.northwest.io/ship.git/commit/?id=3cd1ee83993b2543a7701a48d048c417c52bfdcb'/>
<id>urn:sha1:3cd1ee83993b2543a7701a48d048c417c52bfdcb</id>
<content type='text'>
Most Docker web containers (nginx, etc.) listen on port 80 internally.
The previous mapping assumed the container listened on the allocated port.
</content>
</entry>
<entry>
<title>Add cgit web interface for browsing repos</title>
<updated>2026-02-14T15:56:22+00:00</updated>
<author>
<name>bndw</name>
<email>ben@bdw.to</email>
</author>
<published>2026-02-14T15:56:22+00:00</published>
<link rel='alternate' type='text/html' href='https://code.northwest.io/ship.git/commit/?id=f0dfabe5b7f1f8d23169c6e62a2f0c27bd6c5463'/>
<id>urn:sha1:f0dfabe5b7f1f8d23169c6e62a2f0c27bd6c5463</id>
<content type='text'>
Adds cgit as a web frontend for browsing git repositories. Visiting the
base domain now shows a cgit repo index with trees, commits, diffs, and
blame views. Public repos (marked with git-daemon-export-ok) are browsable
and cloneable over HTTPS.

- Install cgit during host init
- Configure cgit with dark theme and base domain integration
- Add cgit CGI handler to base domain Caddyfile
- Update README to emphasize git-centric workflow with cgit frontend
</content>
</entry>
<entry>
<title>Remove --module flag, add --public, make hooks smarter</title>
<updated>2026-02-11T05:29:20+00:00</updated>
<author>
<name>bndw</name>
<email>ben@bdw.to</email>
</author>
<published>2026-02-11T05:29:20+00:00</published>
<link rel='alternate' type='text/html' href='https://code.northwest.io/ship.git/commit/?id=c49a067ac84ac5c1691ecf4db6a9bf791246899f'/>
<id>urn:sha1:c49a067ac84ac5c1691ecf4db6a9bf791246899f</id>
<content type='text'>
Drop git-module type — the post-receive hook now checks for a Dockerfile
before building, so repos without one simply skip deploy on push. This
covers Go modules and libraries that only need vanity imports.

Add --public flag to ship init for per-repo HTTPS clone visibility.
Show visibility column in ship list.
</content>
</entry>
<entry>
<title>Add git-centric deployment with Docker builds and vanity imports</title>
<updated>2026-02-08T20:32:59+00:00</updated>
<author>
<name>bndw</name>
<email>ben@bdw.to</email>
</author>
<published>2026-02-08T20:32:59+00:00</published>
<link rel='alternate' type='text/html' href='https://code.northwest.io/ship.git/commit/?id=a8ad8e934d15d2bf84f942414a89af1d2691adbc'/>
<id>urn:sha1:a8ad8e934d15d2bf84f942414a89af1d2691adbc</id>
<content type='text'>
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 &lt;name&gt;` command to create bare repos and .ship/ config
- Add `ship deploy &lt;name&gt;` 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
</content>
</entry>
<entry>
<title>Add CPU and memory limits for apps</title>
<updated>2026-01-25T16:06:56+00:00</updated>
<author>
<name>bndw</name>
<email>ben@bdw.to</email>
</author>
<published>2026-01-25T16:06:56+00:00</published>
<link rel='alternate' type='text/html' href='https://code.northwest.io/ship.git/commit/?id=85e97bf1ebe339513ab0661f6cc1ab1ff17a46cb'/>
<id>urn:sha1:85e97bf1ebe339513ab0661f6cc1ab1ff17a46cb</id>
<content type='text'>
Adds --memory and --cpu flags to set systemd resource limits:
  ship --binary ./app --memory 512M --cpu 100%

Also adds config update mode - use --name without --binary to
update an existing app's config without redeploying the binary:
  ship --name myapp --cpu 50%
  ship --name myapp --memory 256M --env DEBUG=true

Limits are stored in state and preserved on redeploy.
</content>
</entry>
<entry>
<title>files</title>
<updated>2025-12-28T17:59:56+00:00</updated>
<author>
<name>bndw</name>
<email>ben@bdw.to</email>
</author>
<published>2025-12-28T17:59:56+00:00</published>
<link rel='alternate' type='text/html' href='https://code.northwest.io/ship.git/commit/?id=ae384f0860c7ef98cc3de1763886566dc6ca903c'/>
<id>urn:sha1:ae384f0860c7ef98cc3de1763886566dc6ca903c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>init</title>
<updated>2025-12-28T17:21:08+00:00</updated>
<author>
<name>bndw</name>
<email>ben@bdw.to</email>
</author>
<published>2025-12-28T17:21:08+00:00</published>
<link rel='alternate' type='text/html' href='https://code.northwest.io/ship.git/commit/?id=13c2f9cffa624fdf498f3b61fab9d809b92e026e'/>
<id>urn:sha1:13c2f9cffa624fdf498f3b61fab9d809b92e026e</id>
<content type='text'>
</content>
</entry>
</feed>
