Compute Caddy payload using Jinja2 with Ansible

Context As I may have mentioned in previous articles I run my services using Ansible to deal with the deployment and upgrade of different components. If we generalize the setup, it mostly consists of a reverse proxy (Caddy) listening on 443 and app stacks running under docker on their own network that connects to Caddy’s one. Something that looks like that: Issue My Ansible playbook is structured in a way where the reverse proxy is spawned first and then each app is deployed one by one, registering its own configuration against Caddy’s API in order to be served....

May 21, 2024

How to backup your selfhosted server running under docker-compose

Need a backup strategy for your selfhosted docker-compose? Here is one!

February 17, 2021 · Martin Goyot