domain
Docker
A nginx reverse proxy based on docker.
Description
A role to use nginx reverse proxy docker container for use for sub domains or domains of your site/app. You can learn more about the container here. The role provisions the docker container and applies a systemd service for the container to start on each reboot instance of the client.
Role Variables
There is one variable that needs to be changed. That's the user.name
variable. You can find this variable in defaults/main.yml. Change the variable to the user that you want to manage the docker container through systemd.
Requirements
Need to have docker already installed one way or another. You can use the handy dandy docker role I have for the task.
Usage
To use is pretty straight forward. You simply call after a provisioning with docker.
- hosts: servers
roles:
- docker
- domain
Author Information
About
a nginx reverse proxy based on docker
Install
ansible-galaxy install abaez/ansible-role-domain
License
bsd-2-clause
Downloads
140
Owner
This be my github connection. Mostly only to contribute to things.
Check instead https://sr.ht/~ab/ for my forge