refactor: drop make deploy, the fleet deploys from infra/komodo; short readme
This commit is contained in:
1 parent
940a599515
commit
74abd9c592
3 files changed
+7
-36
No files matched your search
@@ -1,24 +1,6 @@
|
||||
# infra
|
||||
|
||||
Copier template for the root of a project. With `layout: parts` it ships a `docker-compose.yml` that includes every part, a `Makefile` that drives compose and delegates `fmt`, `check` and `build` to parts, a `README.md` and an `.env.example` whose `COMPOSE_FILE` adds each part's `docker-compose.override.yml` and whose `COMPOSE_PROFILES` selects what runs on the machine. With `layout: single` a part template renders straight into the root and infra ships only `.gitignore`, `CLAUDE.md` and pre-commit hooks.
|
||||
|
||||
A part is a directory with:
|
||||
|
||||
- `docker-compose.yml` with root-relative paths and a profile per service, plus `docker-compose.override.yml.example` for what differs between machines
|
||||
- `Makefile` with `fmt`, `check` and `build` targets
|
||||
- `.env.example` appended to the root `.env` by `make env`
|
||||
- `CLAUDE.md` with the part's checking commands
|
||||
|
||||
Application services carry the `services` profile, databases and other infrastructure carry `external`.
|
||||
|
||||
`mcp_servers` writes `.mcp.json` with the Context7 and Svelte docs servers.
|
||||
|
||||
The root also gets a `renovate.jsonc` that is nothing but an `extends` on the
|
||||
shared preset in `templates/renovate`. It does not subscribe the repo to
|
||||
anything on its own: the bot walks an explicit list, so a new repo still has to
|
||||
be added to `repositories` in `projects/personal/renovate/renovate-config.js`
|
||||
of `infra/komodo`, and needs the `renovate`, `wait-3d` and `deps-code` labels
|
||||
(`giteaproject <org>/<repo>` creates them).
|
||||
Copier template for the root of a project: compose that includes every part, a Makefile that delegates to parts, `.gitignore`, `CLAUDE.md`, pre-commit hooks and `renovate.jsonc`. A part is a directory with `docker-compose.yml` (profiles per service: `services` for the app, `external` for databases), `docker-compose.override.yml.example`, a Makefile with `fmt`, `check`, `build` and `.env.example`.
|
||||
|
||||
```sh
|
||||
copier copy --trust -d layout=parts -d 'parts=["backend","frontend"]' <this-repo> <dest>
|
||||
|
||||
Reference in new issue
Block a user