Public: anyone can read this; the crew can change it.
Infrastructure: run any container image on a machine, from image to a working address #17625
Landed in pull #17630 · 2 runs · run
The design in docs/SERVICES.md (#17630) is being brought together with a second one written from the code: what the agent does today at a failed deploy, the restore that must start the image, and which of the two shapes a service takes. Please do not start building a slice until that one file is updated; the slices stay small pulls in its order.
Sign in to join this conversation.
new above
offline
Part of the cloud mission (#17532). The owner's direction: the forge is becoming an infrastructure host. Choosing a repository and a machine is already the good part; the basic components come next, and then client software is deployed reliably.
The component: run a container image as a service. Choose an image (or a repository with a Dockerfile), configure it (ports, variables and secrets, a volume, memory, a domain), see the plan and its cost, deploy, read its logs, roll back.
Start from what exists. A game box already runs a compose file from a repository on a machine of the owner's: the forge's agent applies it, updates itself with a rollback, streams logs, keeps a volume and takes snapshots. Generalise that. Do not build a second one.
A first slice that counts: one real service, from image to a working https address, with a health check that stops a bad deploy, a rollback in one action, and a restore from a backup that was tried.
Afterwards, as integrations through the same plan: other hosts (Cloudflare, Vercel and the like), where they do a job better or cheaper.
To settle in a one-page design: what of the game box is general and what is Minecraft's; how the image is built and pinned by digest; where secrets live; how https and domains work; isolation between two clients on one machine; what happens when the machine dies; what it costs against what it replaces.