35 lines
728 B
Markdown
35 lines
728 B
Markdown
# Readme
|
|
|
|
## General
|
|
|
|
this playbook is used to deploy docker and nginxproxymanager as docker containers on any hosts.
|
|
|
|
## inventory
|
|
|
|
setup a group in your inventory with the name: npm
|
|
also if this container is deployed, some other roles will be trying to use the variable 'proxy_type', be sure to set it in your host vars to 'npm'
|
|
|
|
## vars
|
|
|
|
### group vars
|
|
|
|
````
|
|
group_vars_npm_db_host:
|
|
group_vars_npm_db_name:
|
|
group_vars_npm_app_host:
|
|
group_vars_npm_docker_paths:
|
|
- /opt/docker/config/npm
|
|
````
|
|
|
|
### host vars
|
|
host_vars_npm_db_root_password:
|
|
host_vars_npm_db_user:
|
|
host_vars_npm_db_user_password:
|
|
|
|
## first start
|
|
|
|
login to your npm after the deployment
|
|
|
|
url: http://ip/hostname:8082
|
|
user: admin@example.com
|
|
pass: changeme |