this post was submitted on 17 Sep 2026
37 points (97.4% liked)

Opensource

6729 readers
77 users here now

A community for discussion about open source software! Ask questions, share knowledge, share news, or post interesting stuff related to it!

CreditsIcon base by Lorc under CC BY 3.0 with modifications to add a gradient



founded 3 years ago
MODERATORS
 

cross-posted from: https://discuss.tchncs.de/post/67770797

Hey everyone!

I have been building and maintaining my own infrastructure around self-hosted Linux services for months. Eventually I got annoyed with editing and deploying everything manually and having difficulties sharing what I'm doing with others. So I solved both of these problems with Infrastructure as Code.

Everyone is free to study this repository. Ever wanted to see IaC in practice? Curious how to self-host certain services, automate website deployment from Git to server, make TLS SNI-based router or automate container provisioning? Then this repository is for you.

Want to know how much CPU, RAM or other resources a certain service has? You can see it yourself on my own public dashboard.

This is the first time I share my infrastructure with anyone. I'd be more than happy to discuss it, receive feedback and answer question. In the meantime, I'm writing an article to complement the code with architecture, decisions and thought behind it.

you are viewing a single comment's thread
view the rest of the comments
[–] Mikina@programming.dev 3 points 1 day ago (2 children)

This is cool! My sanity with self-hosting was mostly perserved by MASH, they have an amazing ansible scripts I never had any problem with, which is usually rare.

I can't imagine figuring all of this on my own.

[–] TheJesusaurus@piefed.ca 1 points 1 hour ago

Woahhhhh..... Handy. Thank you

[–] lch361@discuss.tchncs.de 1 points 1 day ago

Yeah, I wish I could use more third-party roles, but my goal was to replicate manual configuration in Ansible playbook. I found writing my own roles easier for that. If I tried to find a third-party role, I'd have to check whether it can reproduce exactly what I did. I also found learning Ansible myself to be much more useful than seeking third-party roles.