From ab67b5a5dad8746df814929f6d49b8f530f367fa Mon Sep 17 00:00:00 2001 From: h Date: Thu, 8 Oct 2026 04:40:25 +0000 Subject: [PATCH] docs(readme): production in the fleet deploys from infra/komodo, make deploy stays for a checkout deployed by hand --- .../{% if layout == 'root' %}README.md{% endif %}.jinja | 2 ++ 1 file changed, 2 insertions(+) diff --git a/template/{{ part_dir }}/{% if layout == 'root' %}README.md{% endif %}.jinja b/template/{{ part_dir }}/{% if layout == 'root' %}README.md{% endif %}.jinja index ba8d1a5..82b771f 100644 --- a/template/{{ part_dir }}/{% if layout == 'root' %}README.md{% endif %}.jinja +++ b/template/{{ part_dir }}/{% if layout == 'root' %}README.md{% endif %}.jinja @@ -11,4 +11,6 @@ make recreate To deploy, `git pull && make deploy`. It runs `make pre-deploy`, which rebuilds the image only when something in the repository changed, then `docker compose up -d`. A deploy system with its own `up` step calls `make pre-deploy` before it and `make post-deploy` after. What was built is remembered as `refs/deploy/*` in the clone. +In the fleet, production is deployed from `infra/komodo` instead (git mode of Komodo, see `docs/architecture.md` there): Komodo clones this repo, and a layer plus `deploy.sh` in the stack's directory tag images by the hash of what they bake in and write `.env` from sops. The repo only has to stay a plain recipe: images built from `build:` in compose, `caddy/site.caddy`. `make deploy` and `refs/deploy/*` are for a checkout deployed by hand. + `make dev` runs the Vite dev server on the host, `make fmt` formats, `make check` runs svelte-check and the linter.