Running Uptime Kuma in Docker on Ubuntu Server

Channel:
Subscribers:
14,400
Published on ● Video Link: https://www.youtube.com/watch?v=LD1fOWGfBC8



Duration: 1:41
377 views
7


#UpTimeKuma #Docker #Monitoring

Full steps can be found at https://i12bretro.github.io/tutorials/0616.html

--------------------------------------------------------------------
What is Uptime Kuma?
--------------------------------------------------------------------
Uptime Kuma is a fancy self-hosted monitoring tool. - https://github.com/louislam/uptime-kuma
 
--------------------------------------------------------------------
Installing Docker
--------------------------------------------------------------------
   01. Log into the Linux based device
   02. Run the following commands in the terminal
         # install prerequisites
         sudo apt install apt-transport-https ca-certificates curl software-properties-common gnupg-agent -y
         # add docker gpg key
         curl -fsSL https://download.docker.com/linux/$(awk -F'=' '/^ID=/{ print $NF }' /etc/os-release)/gpg | sudo apt-key add -
         # add docker software repository
         sudo add-apt-repository "deb [arch=$(dpkg --print-architecture)] https://download.docker.com/linux/$(awk -F'=' '/^ID=/{ print $NF }' /etc/os-release) $(lsb_release -cs) stable"
         # install docker
         sudo apt install docker-ce docker-compose containerd.io -y
         # enable and start docker service
         sudo systemctl enable docker && sudo systemctl start docker
         # add the current user to the docker group
         sudo usermod -aG docker $USER
         # reauthenticate for the new group membership to take effect
         su - $USER
 
--------------------------------------------------------------------
Running Uptime Kuma
--------------------------------------------------------------------
   01. Now that Docker is installed, run the following commands to setup the Uptime Kuma container and run it
         # create working directories
         mkdir /home/$USER/docker/uptimekuma -p
         # set owner of working directories
         sudo chown "$USER":"$USER" /home/"$USER"/docker -R
         # run the uptime kuma container
         docker run -d --name uptimekuma -p 3001:3001 -v /home/$USER/docker/uptimekuma:/app/data --restart=unless-stopped louislam/uptime-kuma:latest
   02. Open a web browser and navigate to http://DNSorIP:3001
   03. Select a language and create an administrator username and password ≫ Click Create
   04. Welcome to Uptime Kuma
 
Documentation:  https://hub.docker.com/r/louislam/uptime-kuma
 


### Connect with me and others ###
★ Discord: https://discord.com/invite/EzenvmSHW8
★ Reddit: https://reddit.com/r/i12bretro
★ Twitter: https://twitter.com/i12bretro







Tags:
Uptime Kuma
Uptime
Monitor
Docker
Containerize
Homelab
Container
How To
Tutorial
i12bretro