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

แชร์
ฝัง
  • เผยแพร่เมื่อ 30 พ.ย. 2024

ความคิดเห็น • 95

  • @DBTechYT
    @DBTechYT  2 ปีที่แล้ว

    Additional Resources:
    - dbt3ch.com/shelves/casaos-installs
    - th-cam.com/video/WpYLPIMxzaU/w-d-xo.html

  • @DBTechYT
    @DBTechYT  2 ปีที่แล้ว +1

    🎆🎆 Don't forget that you can get early access to my content by becoming a Patron: www.patreon.com/dbtech 🎆🎆

  • @fraugdib3834
    @fraugdib3834 4 หลายเดือนก่อน

    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 4 หลายเดือนก่อน

    🎯 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 ปีที่แล้ว +1

      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

  • @ashishcchauhan
    @ashishcchauhan ปีที่แล้ว +1

    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...

  • @my-king
    @my-king 7 หลายเดือนก่อน +1

    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  7 หลายเดือนก่อน

      I made this video some time ago about CasaOS and Cloudflare: th-cam.com/video/OAeQwdFXsQQ/w-d-xo.html

  • @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!!

  • @autobahnmensch
    @autobahnmensch ปีที่แล้ว

    this guide is 110%! thank you! liked and subscribed

  • @farzadmf
    @farzadmf 2 ปีที่แล้ว

    One of the best tutorials I've seen for NPM, thank you 👍

    • @DBTechYT
      @DBTechYT  2 ปีที่แล้ว

      Thanks! I really appreciate that!

  • @CaptZenPetabyte
    @CaptZenPetabyte 2 ปีที่แล้ว +1

    Thanks for this tutorial mate, it was just what I was currently looking to do. Cheers.

    • @DBTechYT
      @DBTechYT  2 ปีที่แล้ว

      Glad I could help!

  • @scottchampion
    @scottchampion 4 หลายเดือนก่อน

    Would be nice if then UI would allow copy from docker compose files

  • @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 :)

  • @redwolfastorian2221
    @redwolfastorian2221 หลายเดือนก่อน

    Great tutorial mate! Thank you !

  • @ykkim646
    @ykkim646 2 ปีที่แล้ว +1

    What a great clip! it seems casaOS upgraded recently, How to configure my router (port forward) to access local IP casaOS?

  • @zakoalax
    @zakoalax 2 ปีที่แล้ว +1

    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 ปีที่แล้ว +1

      Thank you!! You should see the stuff I cut out of my videos sometimes lol

    • @zakoalax
      @zakoalax 2 ปีที่แล้ว +1

      @@DBTechYT It's funny, i love that 😜

  • @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:
      th-cam.com/video/rj7DZdWMK2k/w-d-xo.html
      Same ports need to be forwarded and SSLs can be generated from CloudFlare:
      th-cam.com/video/pwK1LnbTitI/w-d-xo.html

    • @CristianHeredia0
      @CristianHeredia0 2 ปีที่แล้ว

      @@DBTechYT fantastic, thanks!

  • @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  ปีที่แล้ว +1

      You would need either a dedicated IP or you would need to set up something like this to update Cloudflare when your IP changes: th-cam.com/video/Nf7m3h11y-s/w-d-xo.html

    • @tulipwell9904
      @tulipwell9904 ปีที่แล้ว

      @@DBTechYT thanks a lot. Yesterday only I watched that video after this one. It really helped. 🙏🏻

  • @kishanjithB4U
    @kishanjithB4U 2 ปีที่แล้ว +1

    I bought a new domain for this , but when i click the link its showing error 1002 dns points to local or disallowed ip

  • @mareksipos6751
    @mareksipos6751 7 หลายเดือนก่อน

    Thanks!!! using your tutorial it was actually easy.

    • @DBTechYT
      @DBTechYT  7 หลายเดือนก่อน

      Awesome!! Glad the video was helpful!! :)

  • @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 ?

  • @naveen_yadav
    @naveen_yadav ปีที่แล้ว

    it says port duplicte port : 80 when trying to install

    • @DBTechYT
      @DBTechYT  ปีที่แล้ว +1

      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.

  • @carlosareias8495
    @carlosareias8495 2 ปีที่แล้ว

    Keep up the good work.
    We want more tutorials!

  • @djadja168
    @djadja168 2 ปีที่แล้ว +1

    why not use DMZ ?

  • @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 ปีที่แล้ว +2

      Would you mind sharing the security issues you're talking about? Just so they can be more easily found :)

  • @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

  • @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.

  • @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 :)

  • @cristoforopontikas
    @cristoforopontikas ปีที่แล้ว

    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  ปีที่แล้ว

      Sounds like you don't have your port forwarding set up correctly

    • @cristoforopontikas
      @cristoforopontikas ปีที่แล้ว

      @@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  ปีที่แล้ว +1

      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 ปีที่แล้ว

      @@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

  • @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

  • @RK-ly5qj
    @RK-ly5qj 2 ปีที่แล้ว

    I assume that, i dont have to generate cert from CF if i have bought it from different provider?

  • @petrosposiedon3210
    @petrosposiedon3210 6 หลายเดือนก่อน

    I know this video is somewhat old but Will the environment variable “APP_URL” work if applied with any container?

    • @DBTechYT
      @DBTechYT  6 หลายเดือนก่อน

      It won't work like that. Each container has to be configured in the dockerfile to have that env variable

  • @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 หลายเดือนก่อน +1

      Try disable force ssl in proxy manager. it helps me

  • @TheMichael2019
    @TheMichael2019 6 หลายเดือนก่อน

    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  6 หลายเดือนก่อน +1

      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.

  • @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.

  • @ms7165
    @ms7165 11 หลายเดือนก่อน

    Why did you do a custom install rather than just installing from App Store?

    • @DBTechYT
      @DBTechYT  11 หลายเดือนก่อน

      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 11 หลายเดือนก่อน

      Makes sense. Do you do any consulting?

    • @DBTechYT
      @DBTechYT  11 หลายเดือนก่อน

      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!

  • @asnovasdodia
    @asnovasdodia 10 หลายเดือนก่อน

    Are you using a bought domain name? Can I do it without spending money on that?

    • @DBTechYT
      @DBTechYT  10 หลายเดือนก่อน

      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: th-cam.com/video/nxyQTIPwzJQ/w-d-xo.html

  • @BilatSlayer
    @BilatSlayer 11 หลายเดือนก่อน

    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 7 หลายเดือนก่อน

      They offer really cheap ones on the cloudflare website. I forget how cheap but for a year I think I paid $2-5

  • @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 ปีที่แล้ว +1

      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 ปีที่แล้ว +1

      Why do you care if your traffic on your local network is covered by a paid SSL? Honest question.

  • @autobahntrip6870
    @autobahntrip6870 2 ปีที่แล้ว

    perfect

  • @ms7165
    @ms7165 ปีที่แล้ว

    Thanks!20

    • @DBTechYT
      @DBTechYT  ปีที่แล้ว

      Thank you so much

  • @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.