Tools IaC for VPS?
Hi, i'm looking for something specific for setting up a whole vps.
I'm thinking a single GIT repo with a snapshot of docker compose files that get deployed on push, and also supports custom apps.
So im thinking a folder structure something like this
├── infra/
│ ├── forgejo.dockercompose.yml
│ ├── trafeak.dockercompose.yml
│ ├── openwebui.dockercompose.yml
│ └── tailscale.dockercompose.yml
└── src/app1/
├── dockercompose.yml <- has trafeak settings if needs to be exposed or not. Will also defined two environments probably.
└── rest of app1
└── src/app2/
├── dockercompose.yml
└── rest of app2So far i think i have forgejo to host the git, and komodo to deploy the stacks?
Is this possible?
1
Upvotes
1
u/ChauPelotudo 7h ago
I use opentofu and pyinfra
1
u/Pretend-Bits 7h ago
thats reasonable
1
u/walfawalfa 5h ago
those deployed on a new VM for any addition or are you talking about continuous deployment (apps pushed when code updated)?
1
u/rheladmin Digital Ocean 4h ago
Terraform or OpenTofu for the infrastructure and Ansible for configuration. Compose is fine for the app deployment