Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

Awesome Lists containing this project

README

        

# Gary Gale 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.