Skip to main content

Installation

My firstThis installation was withis the Synologymost Containerbasic Manager,way fromto theredeploy Dozzle. 

The Docker Compose I movedcurrently use has a password set up for security and it toalso runs a Portainerseparate Stack.agent Myfor modea ofseparate Docker server. These additions are not included in the installation nowbelow.

though

The process below is via SSH to my minipcmain andserver use Docker Compose. I found that is the easiest way to run my Docker Containers and keep the necessary data persistence. If I lost my Homebox data now, I would be more thanusing a little upset.terminal.

  1. First change directory to your Docker folder (I keep all containers in a Docker folder). Add a folder called homebox.dozzle. Change directory to the homeboxdozzle directory and then add a docker-compose file. To do this, the following four command lines should be entered into the command line separately:
  cd /docker
  sudo mkdir homeboxdozzle
  cd /docker/homeboxdozzle
  sudo nano docker-compose.yml
  1. Once the nano editor is open, add the docker compose lines below:

               **The appropriate TZ can be found with the command in this link -> command to find your time zone, TZ.

services:
  homebox:dozzle:
    container_name: dozzle
    image: ghcr.io/sysadminsmedia/homebox:amir20/dozzle:latest
  container_name: homebox
    restart: unless-stopped
    environment:ports:
      - HBOX_LOG_LEVEL=info8892:8080
    volumes:
      - HBOX_LOG_FORMAT=text/var/run/docker.sock:/var/run/docker.sock
    - HBOX_WEB_MAX_UPLOAD_SIZE=10
     - HBOX_OPTIONS_ALLOW_REGISTRATION=true #can change to false after first time registrationenvironment: 
     - TZ=America/Santo_Domingo
  volumes:
     - ./homebox:/data/
  ports:
     - 3100:7745
     
volumes:
  homebox:
   driver: local
  1. Press Ctrl-O and then enter to save the file. Ctrl-X to exit the Nano editor.
  2. Then start the container with the following command:
sudo docker compose up -d
  1. You can now enter homeboxdozzle in your internet browser with:

        http://<local ip address>:31008892

  1. Register as a first time user, with your new password.
  2. I wanted to be the only user, so after I registered, I stopped the container, changed the HBOX_OPTIONS_ALLOW_REGISTRATION line to false, and then started the container again. That made me the only user, and no one else could sign up.