Add compose.yml for home-ctr-onyx deploy #29
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Part of the platform-contract work (#25). Consumes the image from #28.
Scope
Add
compose.ymlat the repo root describing thequartermaster-webservice on home-ctr-onyx. Specifics from the platform comment on #25 and the PlatformContractQuartermaster wiki page:forgejo.labbity.unbiasedgeek.com/archeious/quartermaster/quartermaster:<git-sha>./mnt/quartermaster→/data(or equivalent). The mount is the live SQLite file and its siblingbackups/directory (intake §4.3).QUARTERMASTER_DB_URL=sqlite:////data/quartermaster.db— note four slashes for an absolute path. The platform comment's example has three (relative), which would break.proxy-netdeclaredexternal: true.quartermaster.unbiasedgeek.comwithmiddlewares=quartermaster-basicauth@file,quartermaster-ratelimit@file,tls.certresolver=letsencrypt, routing to container port 8000. Check the platform contract wiki for the exact label set when writing this./healthz(from #26).mem_limit: 1g,memswap_limit: 1g,restart: unless-stopped.logging.driver: json-file,options.max-size: 50m,options.max-file: 3(platform contract requirement).tenant=quartermaster,project=quartermaster,managed_by=quartermaster,com.centurylinklabs.watchtower.enable=false(per contract §Required labels).Out of scope
Deliverables
compose.ymlat repo root.docker compose pull && docker compose up -dand a note about theQUARTERMASTER_DB_URLfour-slash gotcha.Blocked by #28. Blocks the Actions-workflow follow-up.