Archipelago infrastructure
Find a file
2026-11-04 20:27:58 +00:00
deploy Route Archipelago through Moscow ingress proxies 2026-11-04 20:27:58 +00:00
portal Initialize D-071 source registry and terra deployment 2026-11-04 20:21:16 +00:00
.env.example Initialize D-071 source registry and terra deployment 2026-11-04 20:21:16 +00:00
.gitignore Initialize D-071 source registry and terra deployment 2026-11-04 20:21:16 +00:00
compose.mirror.yaml Initialize D-071 source registry and terra deployment 2026-11-04 20:21:16 +00:00
compose.yaml Initialize D-071 source registry and terra deployment 2026-11-04 20:21:16 +00:00
README.md Route Archipelago through Moscow ingress proxies 2026-11-04 20:27:58 +00:00

Archipelago infrastructure

Accepted deployment: terra, https://mirror.nw-sys.ru/archipelago/ (D-071). Source registries: Archipelago/core, Archipelago/purposes; contracts: Archipelago/rfc.

Standalone web deployment

  1. Copy .env.example to .env, set an immutable Caddy image and PUBLIC_ROOT.
  2. Create public iso, ostree/layers, ostree/images, v1 directories.
  3. Initialize PUBLIC_ROOT/releases.json from deploy/releases.empty.json only on a fresh deployment. Never overwrite a populated catalog during code deployment.
  4. docker compose up -d web serves the complete /archipelago/ prefix on localhost port 8098. Put your HTTPS reverse proxy in front; no mirror dependency is required.

Existing terra mirror

Run docker compose -f compose.yaml -f compose.mirror.yaml up -d web, then as root run python3 deploy/integrate-mirror.py. The helper backs up and validates Caddy, inserts an explicit /archipelago/ route before the existing fallback, reloads and restores the original configuration on reload failure. Existing /archlinux and rsync routes are preserved. The web container mounts public artifacts read-only and never receives a Docker socket, signing key, private staging or build workspace.

The homepage is public; private experimental ISOs must not be copied into public storage. The initial empty catalog accurately represents the lack of eligible testing/stable releases. Source-only Material You-inspired styling and original artwork require no remote fonts, scripts or upstream logo redistribution.

Remaining pipeline work

External ingress

For the known Moscow Docker Caddy ingress sites, run as root: python3 deploy/integrate-ingress.py /path/to/conf/Caddyfile. The helper inserts /archipelago and /archipelago/* routes into the single mirror.nw-sys.ru block, forwarding to terra at 100.64.0.1:80. It validates inside caddy-caddy-1, saves a restricted backup and restores on reload failure. Host paths: south /app/caddy/conf/Caddyfile, north /home/no1_tx/apps/caddy/conf/Caddyfile, west /opt/caddy/conf/Caddyfile.

Build and update pipeline

The existing CLI ISO experiment is not yet a YAML-driven, independently built layer pipeline. Required sequence: strict Layer parser and locks → independent layer build → artifact upload → image composition from registry → ISO from exact image → validation/reproducibility → signed publication. Add builder/validator/publisher services only with a verified worker isolation profile; do not deploy a cron job that advertises missing CLI commands as successful work.

Registry-backed CLI update and PackageKit/GNOME Software/KDE Discover integration follow the staged transaction contract in RFC-0009 and D-071. Public signing keys, release wire schemas and complete update/reapplication evidence remain required.