- Python 79.2%
- Shell 9.6%
- JavaScript 7.5%
- CSS 1.8%
- Go Template 0.7%
- Other 1.2%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| .forgejo | ||
| dev/backup | ||
| stack | ||
| LICENSE | ||
| README.md | ||
| THIRD-PARTY.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. This artifact flow is not yet complete for this repository: scripts/send.sh currently transfers locally built images and plugin ZIPs from sibling checkouts. Plugin ZIP publication and retrieval still need to move to immutable Forgejo artifacts before this path is suitable for repeatable production releases. Keep environment secrets and service data on the host, outside Git.
Stack documentation
See stack/README.md for the service map, dev environment assumptions, setup commands, known limits, and current readiness. See stack/BACKUP.md for backup setup, monitoring, restore coverage, and the remaining restore rehearsal. The current stack configuration is a development deployment; production still requires environment-specific mail and security configuration, immutable deployment artifacts, and a full backup/restore rehearsal.
Licence
Copyright (C) 2026 konbi.cc
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License, version 3 only, as published by the Free Software Foundation. It is distributed without any warranty. See LICENSE. The software it deploys keeps its own licences: THIRD-PARTY.md.