A Docker reverse proxy stack based on Traefik with SSL certificate generation via CloudFlare DNS-01 challenge and with Portainer Agent; all deployable with Ansible.
This is a personal project and relies on my own, opinionated, setup that works for sites I maintain. It might be useful as an example of how to set up and deploy one or more web stacks with Docker and Ansible. Or not. YMMV.
Copy .secrets.sample
and edit to your taste, including your CloudFlare account email and API token.
The default Ansible inventory, configured in ansible.cfg
, lives in ./playbooks/inventory/hosts.yml
.
ansible-playbook playbooks/deploy.yml -K
- Add Gitea and GitHub actions workflows for build and deployment
- Add Ansible Vault for deployment
sudo
authentication
This is a thing made by Gary Gale and is licensed under the BSD 3 Clause licence.