-
-
Notifications
You must be signed in to change notification settings - Fork 424
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Nginx Proxy Manager #149
Comments
You haven't got a cni network file for your mariadb docker hence it ain't working. I would look into that - that should be it. Portainer.io might be actually a thing you might want to check out :) |
I wouldn't do this "--network host". If you run the proxy manager and/or DB in that mode it will also run on your WAN address. |
You can try using this instead of using mssql which will make it more light weight: -e DB_SQLITE_FILE="/data/database.sqlite" But then you'll get: s6-supervise (child): fatal: unable to exec run: Permission denied Which I can't figure out. Here's the ticket on nginx proxy manager: NginxProxyManager/nginx-proxy-manager#993 Here's what I have so far otherwise. I think it's close if I can get s6 stuff running in the container we're there. PS you don't want host because port 80 and 443 are consumed by the UDM Pro so it will conflict and you won't be able to do redirects. It needs to be it's own vlan or at least network with an IP. |
So this would be easy, you just need to steal the 10-dns.sh networking magic and make a macvlan interface. Remove all the dns specific stuff and the do --network instead of host. |
@boostchicken That's basically what I did, however it fails to load per the error that I linked to. |
This is an issue with systemd and podman. Solve it by adding: So:
The "--privileged" is not needed. And it can't run on port 80 or 443! You need to specify the ports. I tried it... but the WebGUI won't load on port 81. Logging shows me that the docker itself runs:
|
It's working now with these settings:
Adjust it to your own needs :) |
I'm not able to get it running properly with certs. I can't get answer, it's actively refusing my request while i'm 100% sure the portforwards and A/AAAA records are correct. I think this has something to do with the UDM/IPTABLES itself.
|
@renedis Use ports below 32000, UDMP won't work above that. I used 16080 and 16443 and it works fine. @boostchicken Do you want a pull request to add this, or will you add it? (I also have unbound working as well) |
@JohnGalt1717 still not working for me. Rebooted the UDM, still no luck. My UDM keeps refusing |
Make sure you force run the .sh script and that the ip in the network config file matches the .sh file's ip at the top. |
Got it sorted now. The container/UDM does not accept 16080 and 16443. The container now just runs on 80/81/443. |
How did you get it to run on 80/81/443? Every time I do that I get port conflicts on 80 or 443 depending. |
Simply don't specify the ports.
|
I would like to see this available as well. I would probably have to remove the pihole from my UDMP to make this work, but it would be a great addition! |
@kashalls You shouldn't have to remove pi hole. Just put it on a different port on a different VLan and your'e set. |
Its not that I should change the port, with all that I have on there and how much I abuse my poor UDM Pro, its already at 90% memory usage and adding more would probably break it. |
In case it helps anyone who got to @renedis's excellent comment in this thread without any real context:
Also, it's entirely possible that I got parts of this wrong, but it does work for me here. If I made any mistakes, someone please correct me! |
Anyone wanna take a stab at making Nginx Proxy Manager work? It would be a brilliant addition to this!
The app installs, but the db portion fails with a
cni
error.The text was updated successfully, but these errors were encountered: