Skip to content

About

KTHAIS core infrastructure as code (OpenTofu: GCP, OpenBao, Dokploy)

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

42 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

infrastructure

Core KTHAIS infrastructure as code, with OpenTofu: the platform every app runs on. Apps themselves (their Dokploy projects and the images they run) are in kthaisociety/deployments.

Docs

Path What Status
terraform/glesys/ Object storage instances, credentials and buckets (state, OpenBao snapshots, backups, apps' storage) Applied
terraform/dokploy/ OpenBao on Dokploy (bao.kthais.com), Dokploy's database backups destination, later OpenBao's snapshots and Dokploy's other core settings Applied (OpenBao)
terraform/openbao/ OpenBao config: KV mount, GitHub and Google logins, token roles, policies, deployments-ci Applied
terraform/openbao/projects.yaml Every project's OpenBao side, one line each (my-app: {}): its policies and empty secret paths onboarding-service
terraform/modules/project-secrets/ One project environment's policy, empty path (and, for now, a provider token) Applied
terraform/gcp/ The identity and Mattermost projects on Google Cloud: owners, APIs, service accounts. CI signs in through a third project, the only one made by hand (docs/gcp.md) Applied

State is stored encrypted in GleSYS Object Storage. Pull requests run checks and, after a reviewer approves, tofu plan; merges to main run tofu apply from the production environment. Nothing is applied from a laptop.

About

KTHAIS core infrastructure as code (OpenTofu: GCP, OpenBao, Dokploy)

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages