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

https://github.com/kdpuvvadi/proxy

Ansible playbook for Deploying Nginx Proxy Manager in Debian and Redhat servers
https://github.com/kdpuvvadi/proxy

ansible ansible-playbook docker nginx nginx-proxy

Last synced: about 1 year ago
JSON representation

Ansible playbook for Deploying Nginx Proxy Manager in Debian and Redhat servers

Awesome Lists containing this project

README

          

# Nginx Proxy Manager with Ansible Playbook

[![lint](https://github.com/kdpuvvadi/proxy/actions/workflows/lint.yml/badge.svg?event=push)](https://github.com/kdpuvvadi/proxy/actions/workflows/lint.yml)

## Setup

1. Install pip `sudo apt install python3-pip -y`
2. install ansible with pip `pip install ansible`
3. Install docker sdk for ansible `pip install docker`
4. Install requirements `ansible-galaxy collection install -r requirements.yml`

## Run

1. Clone the repo `git clone https://github.com/kdpuvvadi/proxy.git proxy`.
2. copy `inventory.ini.j2` to `inventory.ini`.
3. Change host ip of the host.
4. copy `vars.yml.j2` to `vars.yml`.
5. Change the variable based on your preferences.

## Run the playbook

Run `ansible-playbook main.yml`

## Login Details

```ini
Email: admin@example.com
Password: changeme
```

## more info & documentation of Nginx Proxy Manager

[Visit Nginx Proxy Manager Official Website](https://nginxproxymanager.com/)

## Portainer

To install portainer, set `portainer_enable` value to `true`.
To install proxy manager with MySQL instead of SQLite, set `proxy_with_mysql` to true