Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vicchi/reverse-proxy
A Dockerised Traefik and Portainer Agent stack
https://github.com/vicchi/reverse-proxy
ansible cloudflare dns01 docker https ssl traefik
Last synced: 3 days ago
JSON representation
A Dockerised Traefik and Portainer Agent stack
- Host: GitHub
- URL: https://github.com/vicchi/reverse-proxy
- Owner: vicchi
- License: bsd-3-clause
- Created: 2023-04-21T13:14:36.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2023-07-22T19:33:38.000Z (over 1 year ago)
- Last Synced: 2023-07-22T20:27:53.588Z (over 1 year ago)
- Topics: ansible, cloudflare, dns01, docker, https, ssl, traefik
- Language: Jinja
- Homepage:
- Size: 33.2 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# reverse-proxy
A Docker reverse proxy stack based on [Traefik](https://traefik.io/traefik/) with SSL certificate generation via [CloudFlare](https://www.cloudflare.com/en-gb/dns/) DNS-01 challenge and with [Portainer Agent](https://docs.portainer.io/start/install-ce); all deployable with [Ansible](https://docs.ansible.com/ansible/latest/getting_started/index.html).
## 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](https://img.shields.io/badge/License-BSD_3--Clause-blue.svg)](https://opensource.org/licenses/BSD-3-Clause)
This is a thing made by [Gary Gale](https://www.vicchi.org/pages/about/) and is licensed under the BSD 3 Clause licence.