Docker compose Nginx Proxy Manager Topic is solved

Having issues with your DietPi installation or found a bug? Post it here.
naddel81
Posts: 113
Joined: Sun Jul 21, 2019 12:54 pm

Docker compose Nginx Proxy Manager

Post by naddel81 »

Hi Dietpi team,

I get this when trying to follow the instructions for NPM installation:

Code: Select all

"ERROR: for nginx_app_1  Cannot start service app: driver failed programming external connectivity on endpoint nginx_app_1 (34dfb51be386dd5cd47e6f5f0fcab8f3b1e572d636a4717728dcd23d0d8832fb): Error starting userland proxy: listen tcp4 0.0.0.0:80: bind: address already in use

ERROR: for app  Cannot start service app: driver failed programming external connectivity on endpoint nginx_app_1 (34dfb51be386dd5cd47e6f5f0fcab8f3b1e572d636a4717728dcd23d0d8832fb): Error starting userland proxy: listen tcp4 0.0.0.0:80: bind: address already in use
ERROR: Encountered errors while bringing up the project."
can anybody help me, please?
User avatar
Joulinar
Posts: 6525
Joined: Sat Nov 16, 2019 12:49 am

Re: Docker compose Nginx Proxy Manager

Post by Joulinar »

Yes you need stop the web server you are running outside docker or switch it to another port. NPM require port 80 being available
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
naddel81
Posts: 113
Joined: Sun Jul 21, 2019 12:54 pm

Re: Docker compose Nginx Proxy Manager

Post by naddel81 »

I only have pihole on that device. how can I change the pihole port?
User avatar
Joulinar
Posts: 6525
Joined: Sat Nov 16, 2019 12:49 am

Re: Docker compose Nginx Proxy Manager

Post by Joulinar »

What web server you have chosen to run Pihole?
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
naddel81
Posts: 113
Joined: Sun Jul 21, 2019 12:54 pm

Re: Docker compose Nginx Proxy Manager

Post by naddel81 »

sorry, I don't know. standard dietpi-pihole installation!

btw: thanks again for helping me out! :)

When I update, will this change stick? PiHole listens on 443, too?
User avatar
Joulinar
Posts: 6525
Joined: Sat Nov 16, 2019 12:49 am

Re: Docker compose Nginx Proxy Manager

Post by Joulinar »

let's assume it's Lighttpd. In this case you need to adjust server.port in /etc/lighttpd/lighttpd.conf and change it to something else than 80.
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
naddel81
Posts: 113
Joined: Sun Jul 21, 2019 12:54 pm

Re: Docker compose Nginx Proxy Manager

Post by naddel81 »

but that will be port 80 when updating pihole.
would it be better to run nginx proxy manager on another machine? I can create another virtual machine with dietpi inside.
User avatar
Joulinar
Posts: 6525
Joined: Sat Nov 16, 2019 12:49 am

Re: Docker compose Nginx Proxy Manager

Post by Joulinar »

but that will be port 80 when updating pihole.
not sure what you mean by this. Could you be more specific?
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
naddel81
Posts: 113
Joined: Sun Jul 21, 2019 12:54 pm

Re: Docker compose Nginx Proxy Manager

Post by naddel81 »

pihole will overwrite those settings. therefore I might just create another virtual machine to run NPM. should solve the port conflict, right?
User avatar
Joulinar
Posts: 6525
Joined: Sat Nov 16, 2019 12:49 am

Re: Docker compose Nginx Proxy Manager

Post by Joulinar »

usually PiHole will not do this
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Post Reply