Skip to content

vicchi/reverse-proxy

Repository files navigation

Gary Gale reverse-proxy

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.

Here Be Dragons

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.

Configuration

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.

Deploy

ansible-playbook playbooks/deploy.yml -K

To Do

  • Add Gitea and GitHub actions workflows for build and deployment
  • Add Ansible Vault for deployment sudo authentication

Colophon and Licence

License

This is a thing made by Gary Gale and is licensed under the BSD 3 Clause licence.

Releases

No releases published

Packages

No packages published

Languages