feat(deploy): compose.yml for home-ctr-onyx (#29) #33
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/compose"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #29. Consumes the image from #28. Unblocks #30 (Forgejo Actions).
Summary
compose.ymlat the repo root, single servicequartermaster:…/archeious/quartermaster/quartermaster:${QUARTERMASTER_TAG:-latest},so deploys pick a SHA via a host-side
.envinstead of editingthe checked-in file.
/mnt/quartermaster:/databind mount,QUARTERMASTER_DB_URLwith the four-slash absolute path (
sqlite:////data/…).proxy-netexternal network;container_name: quartermasterto match Promtail's
{container="quartermaster"}filter.mem_limit: 1g+ matchingmemswap_limit,restart: unless-stopped,json-filelogging capped at50m×3,HEALTHCHECKon/healthz(belt-and-suspenders with the one baked into theimage in #28).
routing + TLS + resolver + middlewares + service port, plus
tenant/project/managed_by=quartermaster/com.centurylinklabs.watchtower.enable=false.docker compose pull && docker compose up -drecipe, theQUARTERMASTER_TAGenv flow, and the four-slash gotcha called outexplicitly (the intake had it with three, which would silently put
the DB off the bind mount).
Test plan
file) — structure and types match the compose spec.
PlatformContractQuartermaster
wiki page is present with the exact expected value (automated
cross-check — Host rule backticks, middleware chain order, port
number, watchtower-disable, etc.).
QUARTERMASTER_DB_URLhas four slashes in the rendered doc(not three).
/mnt/quartermaster, not a namedvolume using a platform-owned prefix.
image is pushed to the Forgejo registry (that happens in #30).