- Python 81.3%
- JavaScript 8.8%
- Shell 7.3%
- HTML 1%
- Go Template 0.9%
- Other 0.7%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
|
|
||
| .forgejo | ||
| stack | ||
| README.md | ||
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.