The Configuration Repo Pattern
Instead of maintaining a massive, tangled fork of the corecorgtex/corgtex platform, you create a thin, private wrapper repository (e.g., corgtex/deploy-acmecorp).
This private repository contains:
- Your company-specific deployment manifests (Helm charts, Terraform, advanced Docker Compose overrides).
- A customized
Dockerfile. - A
SEEDDATA/directory containing your internal methodologies, policies, and bootstrap runbooks. - A custom
.mjsseed script.
Building from Source
In your private Configuration Repo, your Dockerfile simply uses the official Corgtex open-source repository as the build context, and then injects your organization’s specific data during the initialization phase. You instruct the standard Dockerfile to execute your seed script instead of the default SaaS seeds by overriding theSEED_SCRIPTS environment variable during image creation or container startup.
Why this pattern?
- Security: Your specific organizational setup data remains in a private, access-controlled repository.
- Upgradability: Because you haven’t forked the core application logic, you can seamlessly
docker pullthe latest upstream releases of the Corgtex platform without dealing with complex merge conflicts. - Isolation: The platform remains completely stateless and unopinionated; all the specific methodology configurations (like Holacracy vs Sociocracy templates) are passed in externally at boot time.