Skip to content

Latest commit

 

History

History
49 lines (33 loc) · 2.41 KB

File metadata and controls

49 lines (33 loc) · 2.41 KB

Deploy Certbot Deploy Matrix Deploy Mailserver Deploy Monitoring Deploy Iptables Deploy Packages Deploy Full

CommStack

CommStack ScreenShot

This repo contains automation and tooling to manage my own mail/matrix server and coolify host.
Automated SSL generation/renewal is included with Let'sencrypt CA via cerbot and Hetzner DNS challenge.

Secrets

All secrets are stored in a private OpenBao instance and fetched with ansible lookups at runtime.
The ansible inventory itself is generated at runtime using the add_host trick.
This keeps the code clean, also allows me to make this repo public without security concerns.
OpenBao Authetication must be set via ENV variables before running the playbook, either by using a token or approle.

Ansible

Single Tag

ansible-playbook -i inventory.yml configure.yml --tags matrix

Configure Everything

ansible-playbook -i inventory.yml configure.yml

Credits

https://www.ansible.com/
https://openbao.org/
https://github.com/element-hq/synapse
https://github.com/docker-mailserver/docker-mailserver
https://github.com/coollabsio/coolify