Run HomeDash - Server Monitor/Dashboard - in Docker
#Homedash #Dashboard #Docker
Full steps can be found at https://i12bretro.github.io/tutorials...
--------------------------------------------------------------------
What is Homedash?
--------------------------------------------------------------------
HomeDash is a simple dashboard that allows to monitor and interact with many different services in order to have a single entry point for one's dedicated server via a set of Plugins. It's easy to install, setup and use. - https://lamarios.github.io/Homedash2/
--------------------------------------------------------------------
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 HomeDash
--------------------------------------------------------------------
01. Now that Docker is installed, run the following commands to setup the HomeDash Docker container
create working directories
mkdir ~/docker/homedash -p
set owner of working directories
sudo chown "$USER":"$USER" ~/docker -R
generate a 32 character random string
RANDOM_STRING=$(head /dev/urandom | LC_ALL=C tr -dc 'A-Za-z0-9' | head -c 32)
copy the output string to the clipboard
run the homedash container
docker run -d --name homedash -p 4567:4567 -v /etc/localtime:/etc/localtime:ro -v ~/docker/homedash:/data -e SALT="$RANDOM_STRING" --restart=unless-stopped gonzague/homedash
02. Open a web browser and navigate to http://DNSorIP:4567
03. Welcome to HomeDash
Documentation: https://github.com/lamarios/HomeDash2
Connect with me and others ###
★ Discord: / discord
★ Reddit: / i12bretro
★ Twitter: / i12bretro