Access Your CasaOS Docker Containers on the Internet via Nginx Proxy Manager - Ep 8

  Рет қаралды 36,781

DB Tech

DB Tech

Күн бұрын

Пікірлер: 95
@DBTechYT
@DBTechYT 2 жыл бұрын
Additional Resources: - dbt3ch.com/shelves/casaos-installs - kzbin.info/www/bejne/jaG8fYN_gt2tl7c
@DBTechYT
@DBTechYT 2 жыл бұрын
🎆🎆 Don't forget that you can get early access to my content by becoming a Patron: www.patreon.com/dbtech 🎆🎆
@fraugdib3834
@fraugdib3834 3 ай бұрын
Really good if you want to use CasaOS on a VPS and access the apps (which are actually docker containers) online at your domain name. There are a lot of steps, and so many tutorials/docs only describe incomplete portions of this process individually. This video does a great job of explaining the actual steps from start to finish... Great job, thanks!
@zippi777
@zippi777 2 ай бұрын
Hi, I like to watch older videos every now and then to refresh my memory, so as always a big THANKS! And Keep up the AMAZING work!!
@fraugdib3834
@fraugdib3834 3 ай бұрын
🎯 Key points for quick navigation: 00:00 *🎬 Overview of CasaOS Docker Setup* - Overview of setting up CasaOS on Raspberry Pi 4. - Discussion on existing setup with AdGuard Home and BookStack. - Introduction to installing and configuring Nginx Proxy Manager. 02:10 *🛠️ Changing CasaOS Dashboard Port* - How to change the default web UI port of CasaOS. - Steps to configure CasaOS to use a different port (e.g., port 90). - Importance of adjusting port settings for future application compatibility. 03:23 *📦 Installing Nginx Proxy Manager* - Guide on installing Nginx Proxy Manager via CasaOS App Store. - Steps to navigate to Nginx Proxy Manager setup on the web interface. - Importance of accessing and configuring Nginx Proxy Manager for remote access. 07:35 *🔧 Configuring Port Forwarding for Remote Access* - Explanation on setting up port forwarding for CasaOS on typical network configurations. - Steps to configure port forwarding from modem/router to CasaOS install. - Discussion on managing network setups for optimal remote access configurations. 09:44 *🔐 Setting Up SSL with Cloudflare for Nginx Proxy Manager* - Steps to generate and import SSL certificates from Cloudflare to Nginx Proxy Manager. - Importance of SSL certificates for secure remote access and domain management. - Explanation on configuring SSL/TLS settings in Cloudflare for enhanced security. 10:47 *🌐 Configuring Proxy Hosts in Nginx Proxy Manager* - Guide on adding and configuring proxy hosts in Nginx Proxy Manager for domain routing. - Using Cloudflare for DNS management and setting up proxy hosts effectively. - Steps to link containers to domain names using proxy hosts for streamlined access. 19:21 *🔄 Setting up Nginx Proxy Manager for CasaOS Docker Containers* - Setting up Nginx Proxy Manager for accessing Docker containers on the internet, - Configuring local IP address redirection to domain names, - Troubleshooting DNS propagation issues for domain setup. 20:58 *🔍 Troubleshooting DNS Issues with Domain Setup* - Troubleshooting common DNS propagation issues, - Importance of DNS propagation in accessing domains, - Addressing DNS-related errors when configuring Nginx Proxy Manager. 21:51 *🛠️ Comprehensive Setup Guide for Nginx Proxy Manager* - Detailed setup guide for installing and configuring Nginx Proxy Manager, - Configuring SSL certificates using Cloudflare with Nginx Proxy Manager, - Overview of the setup process including port forwarding and SSL certificate management. Made with HARPA AI
@farzadmf
@farzadmf 2 жыл бұрын
Just rewatched your video and tired to follow steps to set up something similar on an AWS EC2, and I just wanted to say THANK YOU! So well explained and really love the fact that you don't skip steps. I thought you are because things weren't working for me, but when I rewatched, I saw that you're explaining EVERYTHING so clearly and it was me who missed that step Keep up the AMAZING work
@JustinLondagin
@JustinLondagin 2 жыл бұрын
I will agree it seems so many doing videos these days skip steps, as they assume the person watching knows this stuff already. Same goes for sites that do just write-ups, they will write out "now setup the volumes like normal". Wait, what? That is why I am at your page or video, I don't know these stuff all that well and I am learning. Thank you for your detailed videos.
@farzadmf
@farzadmf 2 жыл бұрын
Agreed %100
@thomas25514
@thomas25514 11 ай бұрын
Thanks man!! This turtorial could have saved me hours of agony if I would have found it earlier. Everyhing works exactly as I want now :)
@DBTechYT
@DBTechYT 11 ай бұрын
That's awesome!!
@farzadmf
@farzadmf 2 жыл бұрын
One of the best tutorials I've seen for NPM, thank you 👍
@DBTechYT
@DBTechYT 2 жыл бұрын
Thanks! I really appreciate that!
@my-king
@my-king 6 ай бұрын
Would you ever do an updated version with all the new stuff cloudflare offer and updated CasaOS. I feel like their new tunnelling system might offer new features and would maybe make things easier? I got this working but had to turn off the tunnelling features I previously set up. I ask because one of the most common things I see on the CasaOS reddit and Discord is how to get HTTPS working. I was pointed here from it. I just think a nice updated video on it (Maybe using different apps? I see a few like Caddy) would make things so much easier. Thank you for your great video(s)!
@DBTechYT
@DBTechYT 6 ай бұрын
I made this video some time ago about CasaOS and Cloudflare: kzbin.info/www/bejne/hXLIgqqae72mh7M
@autobahnmensch
@autobahnmensch Жыл бұрын
this guide is 110%! thank you! liked and subscribed
@CaptZenPetabyte
@CaptZenPetabyte 2 жыл бұрын
Thanks for this tutorial mate, it was just what I was currently looking to do. Cheers.
@DBTechYT
@DBTechYT 2 жыл бұрын
Glad I could help!
@redwolfastorian2221
@redwolfastorian2221 Ай бұрын
Great tutorial mate! Thank you !
@ashishcchauhan
@ashishcchauhan Жыл бұрын
as I do not have static IP and I think many people have not, so please make a video on how to install cloudlare tunnel on casaOS and access all casaOS apps from out side home network. thanks in advance. please please, please...
@try-that
@try-that 2 жыл бұрын
Nice video, thought the new studio sounded and looked pretty good.
@DBTechYT
@DBTechYT 2 жыл бұрын
Thanks so much!! I've updated the new studio even more and it's sounding even better now :)
@tulipwell9904
@tulipwell9904 Жыл бұрын
Hey there! I've been totally binge-watching your playlists for the last 2 days - great stuff, kudos to you! 😄 Just got a quick question: since you've mentioned pointing your domain to your home IP in Cloudflare DNS settings, would we need a static IP or any DDNS service to make that URL connection? Thanks!
@DBTechYT
@DBTechYT Жыл бұрын
You would need either a dedicated IP or you would need to set up something like this to update Cloudflare when your IP changes: kzbin.info/www/bejne/hJeanmaeZpasY9U
@tulipwell9904
@tulipwell9904 Жыл бұрын
@@DBTechYT thanks a lot. Yesterday only I watched that video after this one. It really helped. 🙏🏻
@zakoalax
@zakoalax 2 жыл бұрын
Very interesting as usual! It's funny to see your face when it makes mistakes :) Thank you very much for all this practical content! Cheers mate 👌
@DBTechYT
@DBTechYT 2 жыл бұрын
Thank you!! You should see the stuff I cut out of my videos sometimes lol
@zakoalax
@zakoalax 2 жыл бұрын
@@DBTechYT It's funny, i love that 😜
@ykkim646
@ykkim646 2 жыл бұрын
What a great clip! it seems casaOS upgraded recently, How to configure my router (port forward) to access local IP casaOS?
@scottchampion
@scottchampion 3 ай бұрын
Would be nice if then UI would allow copy from docker compose files
@mareksipos6751
@mareksipos6751 6 ай бұрын
Thanks!!! using your tutorial it was actually easy.
@DBTechYT
@DBTechYT 6 ай бұрын
Awesome!! Glad the video was helpful!! :)
@CristianHeredia0
@CristianHeredia0 2 жыл бұрын
This is great. Can you show a similar setup with docker compose/portainer. I know people use traefik but that seems overkill. What you just showed makes sense for homelab services.
@DBTechYT
@DBTechYT 2 жыл бұрын
Here's how to set it up in Portainer: kzbin.info/www/bejne/qJuadY2ajLJ-aM0 Same ports need to be forwarded and SSLs can be generated from CloudFlare: kzbin.info/www/bejne/pqiuYn-kl7mcqqs
@CristianHeredia0
@CristianHeredia0 2 жыл бұрын
@@DBTechYT fantastic, thanks!
@kishanjithB4U
@kishanjithB4U 2 жыл бұрын
I bought a new domain for this , but when i click the link its showing error 1002 dns points to local or disallowed ip
@djadja168
@djadja168 2 жыл бұрын
why not use DMZ ?
@fredzibulski3111
@fredzibulski3111 2 жыл бұрын
always love your content. Was trying to get it working with bookstack with my domain not through case OS but with OMV and nginx. Wrenn I add the APP_URL in ENV in the container it does not work was waiting for some time like you said due to DNS but it did not work. Is there something different i have to do with my setup ?
@carlosareias8495
@carlosareias8495 2 жыл бұрын
Keep up the good work. We want more tutorials!
@dcherryholmes
@dcherryholmes Жыл бұрын
You should include "Cloudflare" in the title of your video, since it is integral to your build process.
@DBTechYT
@DBTechYT Жыл бұрын
Cloudflare, in this case, is only managing DNS for the domain. If you're not using Cloudflare, the steps are the same. You'll just need to set the A Records at your domain host instead of at Cloudflare.
@alethephobe7586
@alethephobe7586 8 ай бұрын
@@DBTechYT And what about the SSL certificate generation? My domain provider + DNS manager isnt providing that.
@gabo_tv
@gabo_tv 2 жыл бұрын
Hello DB Tech, any method to do same job but with a portal like heimdall ? My goal is: connect to a website portal where i can find all my apps (heimdall) (of course the access to portal is done by MFA, for example Authelia), then click to an app and gain access to it. I think that it doesn't work with heimdall because of he redericts to a private IP, so without doing a real front-end job
@natetronn
@natetronn Жыл бұрын
If we set things up with CloudFlare Tunnel, per your other video, can we still use nginx proxy manager to setup https? Would it be as simple as following the steps to install npm and creating a pem//key and installing that in npm? Thanks! ETA seems to have worked perfectly fine.
@DBTechYT
@DBTechYT Жыл бұрын
My question is WHY use Nginx Proxy Manager if you're using Cloudflare tunnels? Cloudflare tunnels completely replaces the need for Nginx Proxy Manager.
@natetronn
@natetronn Жыл бұрын
@@DBTechYT thanks for the reply. Where do I add the ssl for each subdomain, in that case?
@DBTechYT
@DBTechYT Жыл бұрын
Cloudflare tunnels handles all of that automatically
@natetronn
@natetronn Жыл бұрын
@@DBTechYT hmm, odd. I don't seem to get https by default. Let me turn off NPM and see if it's working now.
@natetronn
@natetronn Жыл бұрын
@@DBTechYT indeed it does! I guess it just needed a bit more time to propagate? Dunno, but it's working fine now. Thanks for the assist.
@pedrolemos5727
@pedrolemos5727 2 жыл бұрын
Please make more Content!!! Youbare awesome
@DBTechYT
@DBTechYT 2 жыл бұрын
Two videos per week :)
@RK-ly5qj
@RK-ly5qj 2 жыл бұрын
I assume that, i dont have to generate cert from CF if i have bought it from different provider?
@bluesquadron593
@bluesquadron593 2 жыл бұрын
Just one more thing. Seems this Casa OS has some security issues, so I believe it is better to wait using them even in homelab.
@DBTechYT
@DBTechYT 2 жыл бұрын
Would you mind sharing the security issues you're talking about? Just so they can be more easily found :)
@naveen_yadav
@naveen_yadav Жыл бұрын
it says port duplicte port : 80 when trying to install
@DBTechYT
@DBTechYT Жыл бұрын
That means something else is already using port 80. It's probably CasaOS using it. If that's the case, you need to log into your CasaOS dashboard and change the dashboard port from port 80 to something else that isn't being used.
@petrosposiedon3210
@petrosposiedon3210 5 ай бұрын
I know this video is somewhat old but Will the environment variable “APP_URL” work if applied with any container?
@DBTechYT
@DBTechYT 5 ай бұрын
It won't work like that. Each container has to be configured in the dockerfile to have that env variable
@mad7505
@mad7505 Жыл бұрын
Followed all the steps but keep getting connection refused when I map anything in NGINX
@DBTechYT
@DBTechYT Жыл бұрын
Honestly npm has been really screwy for a while now
@ms7165
@ms7165 10 ай бұрын
Why did you do a custom install rather than just installing from App Store?
@DBTechYT
@DBTechYT 10 ай бұрын
Because this was very early on for CasaOS (about 2 years ago) and there weren't many apps available to CasaOS in the app store. The platform and the app store have grown considerably since I started releasing videos on it and I would make these videos and create .json exports of the apps I was installing to make it easier for the community. The CasaOS team has since updated the app store a lot and have removed the ability to import and export .json installers.
@ms7165
@ms7165 10 ай бұрын
Makes sense. Do you do any consulting?
@DBTechYT
@DBTechYT 10 ай бұрын
Sometimes I do. I haven't done much with CasaOS lately, but I'm open to lending a hand if I can. I'll DM you on Patreon since I just saw you became a patron. Thanks for that!
@ashishcchauhan
@ashishcchauhan Жыл бұрын
is there static IP require for this setup, I do not have static IP so what can I do for that. I do not want to pay extra for static IP.
@asnovasdodia
@asnovasdodia 9 ай бұрын
Are you using a bought domain name? Can I do it without spending money on that?
@DBTechYT
@DBTechYT 9 ай бұрын
You can get a domain for $2/year.
@immortalcyanogen779
@immortalcyanogen779 2 жыл бұрын
Dear DB Tech, I am living in a student dorm and I think I can't use port forwarding service, maybe because of shared IP address. Is there any other way to use nginx? I mean ddns or anything else? Thanks in advance
@DBTechYT
@DBTechYT 2 жыл бұрын
This video isn't scheduled to release until Thursday but this might be a good solution for you: kzbin.info/www/bejne/pKncgod_hdytgLM
@cristoforopontikas
@cristoforopontikas 11 ай бұрын
following your steps everything works great...the only issue is that at the final step when you click on the address that you have specify on Nginx proxy host then instead of my local resource (docker app)the web browser redirects me to the local ip of my Unifi Gateway. how it's possible?
@DBTechYT
@DBTechYT 11 ай бұрын
Sounds like you don't have your port forwarding set up correctly
@cristoforopontikas
@cristoforopontikas 11 ай бұрын
@@DBTechYT could you please help me to understand Which ports i have to forward and where? 8080 and 4443 as the docker container has internally? against the lan ip address that nginx proxy was installed?
@DBTechYT
@DBTechYT 11 ай бұрын
You need to forward ports 80 and 443 from your modem/router to the IP address where nginx proxy manager is installed. from there, you'll assign ports for your individual containers in nginx proxy manager
@cristoforopontikas
@cristoforopontikas 11 ай бұрын
@@DBTechYT ok but using the docker image you suggest from jlesage the ports that the docker is using internally for http and https are the 8080-4443. Now My port forward rule will have the 80 as external port and internal forward port the 8080 ?? The same for https port forward 443 external and 4443 internal port
@TheMichael2019
@TheMichael2019 5 ай бұрын
i have a go daddy domain that i used and i keep getting the landing page and its not bringing me to the container. do i need to change the dns record in cloudflare from the default one that was given?
@DBTechYT
@DBTechYT 5 ай бұрын
you have to point your nameservers from godaddy to the ones that Cloudflare gave you. Once your nameservers have changed over (it can take up to 48 hours) then you will control all your A records and that sort of thing on cloudflare.
@ivansalloum
@ivansalloum 9 ай бұрын
It is not working for me and it is driving me crazy. I have an Ubuntu server with CasaOS installed and the proxy manager. I have a static private IP for the server and public IP from the router. I added an A record in cloudflare for the public IP and created the SSL certificate and added it to the proxy manager. Then I added a new proxy host and it just doesn't work. When I visit the link, I get a web server down error 521. I enabled port forwarding. I don't know what else should I do. Even when I add an A record without the proxy option and create a free SSL certificate from the proxy manager dashboard, it doesn't work. I get an error.
@Djrayli2
@Djrayli2 Ай бұрын
Try disable force ssl in proxy manager. it helps me
@BilatSlayer
@BilatSlayer 10 ай бұрын
how do i create my own domain name to use for cloudflare? i want it free but if theres non then can you suggest a cheap one?
@my-king
@my-king 6 ай бұрын
They offer really cheap ones on the cloudflare website. I forget how cheap but for a year I think I paid $2-5
@ms7165
@ms7165 Жыл бұрын
Thanks!20
@DBTechYT
@DBTechYT Жыл бұрын
Thank you so much
@autobahntrip6870
@autobahntrip6870 2 жыл бұрын
perfect
@RK-ly5qj
@RK-ly5qj 2 жыл бұрын
keep that in mind that this cert will be not trusted in LAN where you may have some NGF or Cache DNS like ADguard. NGF will tell you that this cert isnt trusted - and its tru cuz its not verified ;)
@DBTechYT
@DBTechYT 2 жыл бұрын
I use AdGuard and NGINX Proxy Manager for my stuff and have never had an issue.
@RK-ly5qj
@RK-ly5qj 2 жыл бұрын
@@DBTechYT ok but accessing local assets you are bypassing CF, dont you?
@DBTechYT
@DBTechYT 2 жыл бұрын
Yeah. I access them via a hostname or IP address. Neither of those need https.
@RK-ly5qj
@RK-ly5qj 2 жыл бұрын
@@DBTechYT thats the point. ;) you just set https traffic on NginX but locally encryption isnt present ;) i know how to solve my problem, i just need to buy a certificate;p
@DBTechYT
@DBTechYT 2 жыл бұрын
Why do you care if your traffic on your local network is covered by a paid SSL? Honest question.
@bluesquadron593
@bluesquadron593 2 жыл бұрын
You are little too close to the camera to my liking.
@DBTechYT
@DBTechYT 2 жыл бұрын
That's fair. I'm still working on framing the shot in my new studio space
@bluesquadron593
@bluesquadron593 2 жыл бұрын
@@DBTechYT No worries. Keep up the good work. Maybe you can get some hints from Techno Tim's channel. I think his layout is really good.
How Strong is Tin Foil? 💪
00:25
Brianna
Рет қаралды 66 МЛН
My MEAN sister annoys me! 😡 Use this gadget #hack
00:24
When mom gets home, but you're in rollerblades.
00:40
Daniel LaBelle
Рет қаралды 140 МЛН
Trick-or-Treating in a Rush. Part 2
00:37
Daniel LaBelle
Рет қаралды 42 МЛН
You're running Pi-Hole wrong! Setting up your own Recursive DNS Server!
18:02
Quick and Easy Local SSL Certificates for Your Homelab!
12:08
Wolfgang's Channel
Рет қаралды 836 М.
What is CasaOS??
7:21
TechHut
Рет қаралды 115 М.
Home Servers Have NEVER Been This Easy: CasaOS + ZimaBoard
49:58
Hardware Haven
Рет қаралды 708 М.
No more Cloudflare Tunnels for me...
11:56
Raid Owl
Рет қаралды 56 М.
18 Weird and Wonderful ways I use Docker
26:18
NetworkChuck
Рет қаралды 366 М.
Nginx Proxy Manager - How-To Installation and Configuration
12:15
Christian Lempa
Рет қаралды 447 М.
How Strong is Tin Foil? 💪
00:25
Brianna
Рет қаралды 66 МЛН