add alternative usage

This commit is contained in:
Elton Renda
2020-11-05 09:00:04 +02:00
parent 24a577ad1e
commit 9a6846ce2a
2 changed files with 14 additions and 4 deletions

View File

@ -22,18 +22,27 @@ curl -sL https://raw.githubusercontent.com/ej52/proxmox/main/lxc/nginx-proxy-man
| --hostname | nginx-proxy-manager | hostname of the container |
| --memory | 512 | amount of memory |
| --storage | local-lvm | storage location for container disk |
| --swap | 0 | Amount of SWAP |
| --swap | 0 | amount of SWAP |
you can set these parameters by appending ` -- <parameter> <value>` like:
```bash
curl -sL https://raw.githubusercontent.com/ej52/proxmox/main/lxc/nginx-proxy-manager/create.sh | bash -s -- -c 4
curl -sL https://raw.githubusercontent.com/ej52/proxmox/main/lxc/nginx-proxy-manager/create.sh | bash -s -- --cores 4
```
## Console
### Console
There is no login required to access the console from the Proxmox web UI. If you are presented with a blank screen, press `CTRL + C` to generate a prompt.
## Alternative Usage
If you are not using proxmox or want to install this on a existing Alpine box, you can run the setup script itself.
```bash
wget --no-cache -qO - https://raw.githubusercontent.com/ej52/proxmox/main/lxc/nginx-proxy-manager/setup.sh | sh
```
## Thanks
- [whiskerz007](https://github.com/whiskerz007?tab=repositories)

View File

@ -7,7 +7,8 @@ function info { echo -e "\e[32m[info] $*\e[39m"; }
_temp_dir=$(mktemp -d)
cd $_temp_dir
_version_alpine=${_version_alpine:-3.12}
. /etc/os-release
_version_alpine=${VERSION_ID%.*}
_version_npm=${_version_npm:-2.6.1}
# add openresty repo