Skip to content

0004: Ship as a container stack, not a host installer

  • Status: Accepted
  • Date: 2026-11-13

Context

The prototype is hand edits on one host. To make it reproducible we considered: a host install script that patches the machine (dry run first), a container stack the user runs, or a full OS image like LibreELEC. Couchdogs should feel like a product, and the first host is a shared server that must not be reshaped by us.

Decision

Couchdogs ships as a Docker Compose stack: Wolf from upstream, our own images (TV client, later the shell and supervisor), and our config and overlay files. The user fills in a .env (GPU, ROM folder, data folder) and runs docker compose up. Fixes for upstream apps (emulator settings, controller mappings) ship inside the stack and are applied inside the containers, never by editing the host. Host-level settings outside the stack (OOM killer, VM startup order) are documented as recommended host setup, not applied.

Consequences

  • Nothing outside the stack's data folder is touched; removing Couchdogs is docker compose down plus deleting that folder.
  • Our images need building and, before going public, publishing.
  • A dedicated-box OS image stays possible later on top of the same stack.