https://github.com/ironashram/mail-matrix-server
Contains automation and tooling to manage my self hosted services
https://github.com/ironashram/mail-matrix-server
ansible automation certbot cloudflare docker dovecot mailserver postfix self-hosted
Last synced: 12 months ago
JSON representation
Contains automation and tooling to manage my self hosted services
- Host: GitHub
- URL: https://github.com/ironashram/mail-matrix-server
- Owner: ironashram
- License: mit
- Created: 2024-01-15T10:41:57.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2025-02-22T06:27:12.000Z (12 months ago)
- Last Synced: 2025-02-22T07:24:38.052Z (12 months ago)
- Topics: ansible, automation, certbot, cloudflare, docker, dovecot, mailserver, postfix, self-hosted
- Language: YAML
- Homepage:
- Size: 374 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://github.com/ironashram/mail-matrix-server/actions/workflows/ansible.yaml)
# Mail/Matrix Server
This repo contains automation and tooling to manage my own mail/matrix server.
Automated SSL generation/renewal is included with Let'sencrypt CA via cerbot and Cloudflare DNS.
## Secrets
All secrets are stored in a private Hashicorp Vault 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.
Vault 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://www.vaultproject.io/
https://github.com/element-hq/synapse
https://github.com/docker-mailserver/docker-mailserver