tutorial deployer

Country deployers provision the infrastructure for one OpenGov country instance. Provisioning prepares containers, encrypted secrets, identity realms, and the first administrator login. It ends with a running but empty deployment ready for browser onboarding.

Prerequisites

  1. Prepare a Linux host running Docker Compose and a TLS reverse proxy.
  2. Install sops, age, and Python 3.15 on your operator workstation.
  3. Confirm the host meets memory and disk budgets for PostgreSQL, Keycloak, and ClamAV.

Provisioning sequence

Follow these guides in order:

  1. Read Deployment Architecture to understand the self-bootstrapping containers.
  2. Read Ports and Service Exposure to see that containers publish zero host ports.
  3. Review Deployment Artifact Schema before writing config.yaml.
  4. Follow Provision a Per-Country Deployment to encrypt secrets and start the stack.
  5. Configure transactional mail with Configure Keycloak Realm SMTP.
  6. Review Applicant Realm Operations before enabling citizen self-registration.
  7. Install the host maintenance screen with Host Offline Maintenance Page.

Next steps

Hand the running URLs and the initial administrator account to the country administrator. The administrator completes configuration inside the browser via Country Onboarding Guide.