Running Homer Application Dashboard in Docker

Поділитися
Вставка
  • Опубліковано 16 вер 2024
  • #Homer #Dashboard #Docker
    Full steps can be found at i12bretro.gith...
    --------------------------------------------------------------------
    What is Homer?
    --------------------------------------------------------------------
    A dead simple static HOMepage for your servER to keep your services on hand, from a simple yaml configuration file. - github.com/bas...
    --------------------------------------------------------------------
    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 download.docke... -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)] download.docke... -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 Homer
    --------------------------------------------------------------------
    01. Now that Docker is installed, run the following commands to setup the Homer Docker container and run it
    create working directories
    mkdir /home/$USER/docker/homer -p
    set owner of working directories
    sudo chown "$USER":"$USER" /home/"$USER"/docker -R
    run the homer docker container
    docker run -d --name homer -p 8080:8080 -v /home/$USER/docker/homer:/www/assets --restart=unless-stopped b4bz/homer:latest
    02. Open a web browser and navigate to DNSorIP:8080
    03. Welcome to Homer
    04. To make changes to the dashboard, edit the config.yml file with the following command
    edit homer config.yml
    sudo nano ~/docker/homer/config.yml
    05. Press CTRL+O, Enter, CTRL+X to write the changes
    06. Back in the web browser, refresh the page to view the changes
    Documentation: hub.docker.com...
    Connect with me and others ###
    ★ Discord: / discord
    ★ Reddit: / i12bretro
    ★ Twitter: / i12bretro

КОМЕНТАРІ •