proxmox-reverseProxy/lxc/nginx-proxy-manager
2021-05-13 18:14:12 +02:00
..
create.sh fix: dummy SSL certificate 2021-05-13 11:50:09 +02:00
install.sh refactor: spelling 2021-05-13 18:14:12 +02:00
README.md fix: #12 - add 'templates' command line argument to set templates storage 2021-04-26 12:30:53 +02:00
setup.sh refactor: download install script via setup.sh 2021-05-13 10:42:12 +02:00

Nginx Proxy Manager in Proxmox LXC container

Many benefits can be gained by using a LXC container compared to a VM. The resources needed to run a LXC container are less than running a VM. Modifing the resouces assigned to the LXC container can be done without having to reboot the container. The serial devices connected to Proxmox can be shared with multiple LXC containers simulatenously.

Usage

Note: Before using this repo, make sure Proxmox is up to date.

To create a new LXC container on Proxmox and setup Nginx Proxy Manager to run inside of it, run the following in a SSH connection or the Proxmox web shell.

curl -sL https://raw.githubusercontent.com/ej52/proxmox/main/lxc/nginx-proxy-manager/create.sh | bash -s

Command line arguments

argument default description
--id $nextid container id
--bridge vmbr0 bridge used for eth0
--cores 1 number of cpu cores
--disksize 2GB size of disk
--hostname nginx-proxy-manager hostname of the container
--memory 512 amount of memory
--storage local-lvm storage location for container disk
--templates local storage location for templates
--swap 0 amount of SWAP

you can set these parameters by appending -- <parameter> <value> like:

curl -sL https://raw.githubusercontent.com/ej52/proxmox/main/lxc/nginx-proxy-manager/create.sh | bash -s -- --cores 4

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.

wget --no-cache -qO - https://raw.githubusercontent.com/ej52/proxmox/main/lxc/nginx-proxy-manager/setup.sh | sh

Thanks