mirror of
https://github.com/ej52/proxmox-scripts.git
synced 2025-07-24 00:18:18 +02:00
add alternative usage
This commit is contained in:
parent
24a577ad1e
commit
9a6846ce2a
@ -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 |
|
| --hostname | nginx-proxy-manager | hostname of the container |
|
||||||
| --memory | 512 | amount of memory |
|
| --memory | 512 | amount of memory |
|
||||||
| --storage | local-lvm | storage location for container disk |
|
| --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:
|
you can set these parameters by appending ` -- <parameter> <value>` like:
|
||||||
|
|
||||||
```bash
|
```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.
|
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
|
## Thanks
|
||||||
|
|
||||||
- [whiskerz007](https://github.com/whiskerz007?tab=repositories)
|
- [whiskerz007](https://github.com/whiskerz007?tab=repositories)
|
@ -7,7 +7,8 @@ function info { echo -e "\e[32m[info] $*\e[39m"; }
|
|||||||
_temp_dir=$(mktemp -d)
|
_temp_dir=$(mktemp -d)
|
||||||
cd $_temp_dir
|
cd $_temp_dir
|
||||||
|
|
||||||
_version_alpine=${_version_alpine:-3.12}
|
. /etc/os-release
|
||||||
|
_version_alpine=${VERSION_ID%.*}
|
||||||
_version_npm=${_version_npm:-2.6.1}
|
_version_npm=${_version_npm:-2.6.1}
|
||||||
|
|
||||||
# add openresty repo
|
# add openresty repo
|
||||||
|
Loading…
x
Reference in New Issue
Block a user