How to install DuckDNS on Portainer / Docker Compose

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hello my name is Christopher and today I'm going to show you how to install duck DNS on painer slster compose underneath so this makes it to where you can update your home IP address on Duck DNS and then you can uh uh create a custom domain and then C name record your domain to duckdns.org or whatever your subdomain is on there and then that domain will carry your IP and be allocated to your uh your custom domain and your DNS system so um so this series is about creating smart home from scratch so I'm going to go over installing software to uh to installing home automation everything like that so if you like that subscribe comment like and let's get started so I'm going to start on Linux server so this is the um Docker container that I'll be using Linux server and then DNS um so supported architectures arm 64 and ag60 and then you can go to the DNS website DNS website and retrieve your token create container so let's go over to the guest that I created and I'll link it down in the description for you to use um I'm going to just copy it here and then I'm going to go over to um painer I'm going to start on on the home so you can get a local right here and then Stacks and stacks are Docker composed underneath so um add stack and then you can type your um stack name I'm going say du DNS I'm going to paste what I copied over there so docker compos version 2.1 Services I'm starting up is duck DNS the image that I'll be using is Linux server. DNS the latest version and then I'm going to name the container name DNS I'm going uh set some environment variables and these are the NS subdomains that uh you'll be created on the DU DNS website so I'm going to just name mine P test to so now you'll get your token from the danis website and then we are not logging and um volumes you will say on the local side it's in data du DNS app data and then config and then in the container it will be just config Das config and then we're going to say restart and let stop so that means that it will restart uh always if it fails or anything anything unless you stop it intentionally so let's go over to the DNS website and you you will sign in with whatever provider you want to sign in with there's GitHub there's different ones so um so this will be your account name your type this will be the token that you get that you need to put inside the docker compose over there and then token generated and then create a date uh this will be to where your current IP for your home will be located so you can also update it manually here you can type it in and then update it manually if you do have the service running it will overwrite whatever you did manually within 5 minutes and then a random Jitter so this will be the sub domain that you put over in the uh sub subdomains over here this will be over here right here and then your token will be over here in the duck DNS website it'll be up here so du DNS does not support iv6 updated automatically but you can put it in and then update it right here so this is where you create the subdomain you just type in whatever you want here and then you say add domain and then it shows up down here okay let's go back to for tainer and we got everything done so now we're going to go on deploy stack right here and then you will see that the stack is deployed successfully and then you'll go into duct DNS stack then you'll see that um it pulled the image in it did everything it's supposed to do now you'll go into here containers and then if you got everything correct you go into logs right here and then it will say something went wrong so this is because I haven't got the token in so I'm going to pause it right here put the token in and then I'll be right back so I paused it and I put my token in and you'll go into stacks and then editor here and then you just put your token in there and you say update I'm going to go into containers again and you'll go logs and you can see I put my token in that's all I done on the last thing and it says your your IP was updated and then gives you the date and time so it is working now and it's updating my IP and I have a stuck DNS subdomain that I can see name to and always be up to date with my home IP so that's how to get duck DNS working on portainer so I just showed you how to setup. DNS step-by-step guide on how to get it working on painer uh this is using Docker compose underneath and also this makes it to where if your home IP changes for any reason your ISP gives you a new IP you don't have a static IP on your home uh it'll easily update on the duck DNS uh subdomain and then it you will go into your DNS provider and you'll go and create a new domain you'll see name it to the duck DNS subdomain this makes it to where if your IP changes like I said it will automatically update the domain you have and then it'll make it to where you don't lose access to your home on your NX proxy manager or anything like that so if you like my tutorial subscribe comment like and if you need any support for this uh you can go down in the description and go to Big Bear community and I have a Discord link down there and you can join that and also you can comment on any of the videos and I'll be happy to help as much as I can so thank you for watching and stay tuned for more
Info
Channel: BigBearTechWorld
Views: 3,866
Rating: undefined out of 5
Keywords: Home Automation, Big Bear Tech World, Automation, Proxy, DuckDNS, DNS, Portainer, Docker, Docker Compose
Id: NuQhx32UcKE
Channel Id: undefined
Length: 7min 12sec (432 seconds)
Published: Mon Jun 26 2023
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.