Deployment, configuration and provisioning for the konbi stack (LLDAP, Authelia, Stalwart, Bulwark, SFTPGo, Forgejo)
  • Python 81.3%
  • JavaScript 8.8%
  • Shell 7.3%
  • HTML 1%
  • Go Template 0.9%
  • Other 0.7%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
lip 45d13d37bc sftpgo-hooks image: /admin-state belongs to the service's user
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-12-02 10:19:00 +00:00
.forgejo Add issue forms (bug, feature, decision) and PR template 2026-11-26 09:08:23 +00:00
stack sftpgo-hooks image: /admin-state belongs to the service's user 2026-12-02 10:19:00 +00:00
README.md deploy: consume published Bulwark images 2026-12-01 09:02:57 +00:00

Konbi infrastructure

Deployment, configuration and provisioning for the Konbi stack: Stalwart, Bulwark, LLDAP, Authelia, SFTPGo, Immich, and supporting services.

Repository boundaries

Keep deployment and service configuration here. Keep Bulwark and each independently released plugin in its own repository:

Repository Owns
konbi/infra Compose files, Caddy and Authelia configuration, Stalwart setup, LLDAP provisioning, service integration code, backups and deployment procedures
konbi/konbi-bulwark The Konbi fork of Bulwark and its server-side/core changes
konbi/bulwark-sftpgo SFTPGo/Drive Bulwark plugin
konbi/bulwark-immich Immich/Photos Bulwark plugin
konbi/bulwark-vikunja Vikunja/Tasks Bulwark plugin
konbi/bulwark-projects Projects Bulwark plugin
konbi/bulwark-ai AI Bulwark plugin
konbi/bulwark-chatto Chatto Bulwark plugin
konbi/bulwark-newsletter Newsletter Bulwark plugin
konbi/bulwark-contacts Contacts Bulwark plugin
konbi/bulwark-vault Vault Bulwark plugin

The server-side adapters and hooks that make these plugins work with the stack remain in stack/ here. They are infrastructure integrations, not copies of the browser plugin source.

Deployment artifact policy

The Compose deployment should consume explicit, immutable versions of the Konbi Bulwark image and plugin archives. Build and test each component in its own repository, publish its release artifact to the Forgejo package/release registry, then update the selected versions here. Do not deploy from latest, a developer's local Docker image, or a sibling checkout path.

konbi/konbi-bulwark has a Forgejo Actions workflow at .forgejo/workflows/publish-image.yml. It verifies pushes to main, then publishes an immutable sha-<commit> image; konbi* tags publish the same version tag. The local Forgejo runner config now advertises the bulwark-build label and gives its isolated DinD daemon an 8 GiB memory cap. Restart the runner services to apply it. The registry is served over HTTPS at git.dev.konbi.cc by Caddy. Set the FORGEJO_REGISTRY_USER Actions variable and FORGEJO_PACKAGE_TOKEN secret with package write access.

The Compose service accepts a fully qualified image through BULWARK_IMAGE. Set it in the VPS environment to the published sha-<commit> image, and have Ansible run docker compose pull followed by docker compose up -d; deployment does not build source. The VPS needs registry read access, stored as an Ansible Vault secret. The local image fallback is only for the existing dev workflow. Plugin ZIP publication and retrieval still need to be moved off the neighboring-checkout convention in scripts/up.sh. Keep environment secrets and service data on the host, outside Git.

Stack documentation

See stack/README.md for the service map, dev environment assumptions, optional Compose parts, setup commands, and stateful volumes. The current stack configuration is a development deployment; production requires environment-specific domains, mail configuration, secrets, firewall policy, and a tested backup/restore plan.