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
- Host: GitHub
- URL: https://github.com/kdpuvvadi/proxy
- Owner: kdpuvvadi
- License: mit
- Archived: true
- Created: 2021-06-29T11:50:29.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2023-07-04T10:30:20.000Z (almost 3 years ago)
- Last Synced: 2025-04-01T21:06:06.227Z (about 1 year ago)
- Topics: ansible, ansible-playbook, docker, nginx, nginx-proxy
- Language: Jinja
- Homepage:
- Size: 36.1 KB
- Stars: 11
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Nginx Proxy Manager with Ansible Playbook
[](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