NginxProxyManager / nginx-proxy-manager

Docker container for managing Nginx proxy hosts with a simple, powerful interface
https://nginxproxymanager.com
MIT License
22.18k stars 2.55k forks source link

Alternate Installation Options #45

Open cookwjc opened 5 years ago

cookwjc commented 5 years ago

Would it be feasible to provide an installation process separate from docker containers? I (think) I'd like the option to be able to perform a manual installation without using prebuilt containers. This is primarily derived from our infrastructure running in a ProxMox environment that does make use of LXC containers natively, but getting docker running is a bit more of a challenge.

jc21 commented 5 years ago

I guess instructions could be provided, but the NodeJS app relies on certain things existing in predefined places, like certbot. The docker container (and dependant base container) has nginx configs added as well. So, assuming you are happy to slap a collection of nginx configs on your system along with nodejs and certbot, you could do it.

If instead, you just want a prebuilt LXC container, that may be easier

cookwjc commented 5 years ago

I'm happy to build the necessary environment with relevant dependancies. It's just a better fit for those of us who need better environmental visibility into what is being deployed.
As an intermediate step, I've built a docker swarm environment and am running into subsequent issues due to the docker-compose file being version 2. Can you investigate updating the docker-compose file to a more recent 3.x version?

jc21 commented 5 years ago

Can do, though I think there are no compatibility issues for my docker-compose file as is.

cookwjc commented 5 years ago

thank you. further review here, it looks like the problem isn't with your file per se, but a limitation in portainer's ability to deploy a new swarm stack from the docker-compose file. (re: https://github.com/portainer/portainer/issues/257)

jenschurchill commented 5 years ago

I could use this on alternate architectures, such as ppc64le, where s6-overlay doesn't exist.

nstoik commented 5 years ago

I would be very interested in using a prebuilt LXC container for ProxMox as well. Or some general instructions on how to set up an LXC container for nginx-proxy-manager to use as a starting point would be helpful.

danmed commented 5 years ago

Would love to see this too.. I'm not a fan of Docker and i have everything running in LXC's via Proxmox at the moment..

felixcousseau commented 5 years ago

Hello ! is there any possibility to have installation process ? or it is not available yet ? thx

akkibhat commented 5 years ago

Hey @jc21 - just moved from an unraid setup to proxmox - just curious about the LXC install options oro even install options on fresh debian install to get this running! Cheers

Na0mir commented 4 years ago

I would be interrested for this too! Want to create a LXC on my proxmox setup to host a nginx-proxy-manager

jokesters commented 4 years ago

I've been trying to get use this on proxmox too. I can set up a container, get docker and docker-compose running and get it installed, but it will not for the life of me get the ssl cert. always get an internal error message.

decole commented 4 years ago

hi, how it put in nginx proxy manager? wiki proxmox

Oujiii commented 4 years ago

Was anyone able to create a LXC template for this? I'd love to drop docker and this seem to be the only way.

Thank you.

NickRO19 commented 4 years ago

I would also absolutely LOVE a LXC template for NginxProxyManager. It is amazing, but I cannot get it to work in docker inside an LXC. I get an internal error. Works fine in a VM, however I don't want to deal with the VM overhead due to limited resources. Please, and thank you for all your great work!

Oujiii commented 4 years ago

Hey @NickRO19, open a new issue (as to not flood this one) reporting your problem with Docker within LXC. I was able to run it and I might be able to help you out.

bnicot commented 3 years ago

did someone managed to setup npm on an lxc with proxmox ? ;)

ej52 commented 3 years ago

Sorry for the bump but just wanted to leave this here for the people wanting a LXC container on proxmox.

I have created a setup script using alpine LXC container without docker here, will be looking at creating a LXC template to merge into this repo if @jc21 will be okay with it ;)

NickRO19 commented 3 years ago

Super awesome thx for this! Gonna try it tonight!!!

-------- Original Message -------- On Nov 4, 2020, 14:05, Elton Renda wrote:

Sorry for the bump but just wanted to leave this here for the people wanting a LXC container on proxmox.

I have created a setup script using alpine LXC container without docker here, will be looking at creating a LXC template to merge into this repo if @jc21 will be okay with it ;)

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.

jc21 commented 3 years ago

I have created a setup script using alpine LXC container without docker here, will be looking at creating a LXC template to merge into this repo if @jc21 will be okay with it ;)

More than ok with this, just need to make sure it's a solution that can be automated in the release process. I played with LXC before but only for a little bit and I didn't get far..

Zixim commented 3 years ago

@ej52 have you abandoned the LXC install script ? It's running 5 versions behind on NPM, and it offers no clean upgrade path.

@jc21 I don't think it's a great idea to link people to an install path that is installing such an old version ?

Na0mir commented 3 years ago

@ej52 have you abandoned the LXC install script ? It's running 5 versions behind on NPM, and it offers no clean upgrade path.

@jc21 I don't think it's a great idea to link people to an install path that is installing such an old version ?

Any news ? This script looks awesome! May just need some adjustments to have a better upgrade management

ej52 commented 3 years ago

@ej52 have you abandoned the LXC install script ? It's running 5 versions behind on NPM, and it offers no clean upgrade path. @jc21 I don't think it's a great idea to link people to an install path that is installing such an old version ?

Any news ? This script looks awesome! May just need some adjustments to have a better upgrade management

Sorry guys been busy on some other projects, please note that this script was created as a starting point for running npm on proxmox LXC's. With that said, I have updated the script to pull the latest version of npm now ;)

Na0mir commented 3 years ago

@ej52 have you abandoned the LXC install script ? It's running 5 versions behind on NPM, and it offers no clean upgrade path. @jc21 I don't think it's a great idea to link people to an install path that is installing such an old version ?

Any news ? This script looks awesome! May just need some adjustments to have a better upgrade management

Sorry guys been busy on some other projects, please note that this script was created as a starting point for running npm on proxmox LXC's. With that said, I have updated the script to pull the latest version of npm now ;)

Thanks! I can't make it work, yarn build (setup.sh, line 121) is not an available command/defined in package.json Do you know what's the issue ? Thanks for the help

Zixim commented 3 years ago

@Na0mir is yarn installed ? What is the output of : apt list --installed | grep "yarn"

ej52 commented 3 years ago

@Na0mir Please open a new issue here and we can discuss it there.

Na0mir commented 3 years ago

@ej52 have you abandoned the LXC install script ? It's running 5 versions behind on NPM, and it offers no clean upgrade path. @jc21 I don't think it's a great idea to link people to an install path that is installing such an old version ?

Any news ? This script looks awesome! May just need some adjustments to have a better upgrade management

Sorry guys been busy on some other projects, please note that this script was created as a starting point for running npm on proxmox LXC's. With that said, I have updated the script to pull the latest version of npm now ;)

Thanks! I can't make it work, yarn build (setup.sh, line 121) is not an available command/defined in package.json Do you know what's the issue ? Thanks for the help

Problem resolved, was on my side (thank you Chinese GFW!). Other than that the script works well and provide a good option for LXC usage, went from 450MB to 45MB memory usage and a lot of disk space! :)

Chouille commented 2 years ago

Hello. i will be interested about an installation process / script without docker. In my case, i would like to install npm on an ARM64 VM hosted on my Internet provider box (Freebox Delta). But ressources are limited and docker take amount of ressources. For the moment, i test Apache Reverse proxy, but NPM will be better :)

krytie75 commented 2 years ago

I'd just like to add my thoughts to the pile...

I too would love to get a non-docker version of NPM. I use (non-Proxmox) LXC containers and I have had success using @ej52's (thank you) script but I would prefer an official option that isn't going to die when the script maintainer loses interest. The script also doesn't provide an option to connect our own external SQL server like the official docker version does (though I did figure out a way to do it manually after much trial and error).

I'll take the opportunity to thank everyone involved for a fantastically useful product; beats setting up all those reverse proxies by hand in the terminal...

github-actions[bot] commented 5 months ago

Issue is now considered stale. If you want to keep it open, please comment :+1:

Na0mir commented 5 months ago

Yes, I do.