Expand Dockerfile to full multi-service container image #27
Loading…
Add table
Add a link
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?
Context
PR #26 fixed the container CI pipeline and simplified the Dockerfile to only build
hero_services_server. The pipeline works e2e — images push toforge.ourworld.tf/lhumina_code/hero_zero.Now expand the Dockerfile to produce a full multi-service container.
Architecture
Three layers:
geomind_code/zinit) — process supervisor. Produceszinit_openrpc(daemon),zinit_http(web dashboard),zinit(CLI)lhumina_code/hero_services) — orchestrator.installandrunsubcommands write zinit configs and manage service lifecyclehero_services_server run --profiles userat runtimeKey Constraint
hero_services_server install/runrequires zinit running (communicates via Unix socket at~/hero/var/sockets/zinit_server.sock). Service installation cannot happen during Docker build.Implementation
Builder stage
hero_services_serverfrom this workspace (already done)geomind_code/zinitworkspace → produceszinit_openrpc,zinit_http,zinitbinaries/root/hero/bin/Runtime stage
ca-certificates,libssl3,git,openssh-client,make,curlmake installof services that build from source)zinit_openrpc --socket ~/hero/var/sockets/zinit_server.sockhero_services_server run --profiles user(installs + starts all services)Ports
Notes
hero_zinit(lhumina_code/hero_zinit) is optional — OSchema RPC wrapper, not needed for core flowservices/directory TOML files, organized by profile (user, beta, admin)hero_zerobinary which doesn't exist — the orchestrator ishero_services_server