Synology: Install Dozzle With Portainer

Synology Install Dozzle With Portainer

MyĀ previous guide for DozzleĀ involved the use of Task Scheduler. Today Iā€™m offering a recommended and excellent alternative for installing the latest Dozzle version via Portainer. Dozzle is a simple and responsive application that provides you with a web based interface to monitor your Docker container logs live. It doesn’t store log information, it is for live monitoring of your container logs only. In this step by step guide I will show you how to install Dozzle on your Synology NAS using Docker & Portainer.

šŸ’”Note: This guide works perfectly with the latest Dozzle 6.5.1Ā release.

  • STEP 1

Please Support My work by Making a Donation.

  • STEP 2

Install Text Editor via Synology ā€œPackage Centerā€. (Mandatory STEP.) If you already have Text Editor installed on your Synology NAS, skip this STEP.

Synology Install Text Editor 2023

  • STEP 3

InstallĀ Portainer using my step by step guide. If you already have Portainer installed on your Synology NAS, skip this STEP. Attention: Make sure you have installed the latest Portainer version.

  • STEP 4

Go toĀ File Station and open the docker folder. Inside the docker folder, create one new folder and name it dozzle. Follow the instructions in the image below.
Note: Be careful to enter only lowercase, not uppercase letters.

Dozzle Synology NAS Portainer Authentication Set up 1

  • STEP 5

Download (click on the blue link below) and upload the users.yml file below in the db folder that you have previously created at STEP 4. Follow the instructions in the image below. šŸ”’Note: Support my work to unlock the password. You can use this password to download any file on mariushosting forever!

šŸ‘‰šŸ»users.yml

Dozzle Synology NAS Portainer Authentication Set up 2

  • STEP 6

Launch your browser, then go to the IT-TOOLS website by clicking on the blue link below.

šŸš€IT-TOOLS

Type in your password in the apposite area. Copy to clipboard your SHA256 output password. Follow the instructions in the image below.

Dozzle Synology NAS Portainer Authentication Set up 3

  • STEP 7

  • Open the users.yml file that you have previously uploaded at STEP 5. Follow the instructions in the image below.
  • Type in your Username.
  • Type in Your Full Name inside the inverted commas.
  • Type in your SHA256 output password code that you have previously generated at STEP 6 inside the inverted commas.
  • Type in your own email.

Dozzle Synology NAS Portainer Authentication Set up 4

  • STEP 8

Log into Portainer using your username and password. On the left sidebar in Portainer, click on StacksĀ thenĀ + Add stack. Follow the instructions in the image below.

1 Synology Portainer Add Stack

  • STEP 9

In the Name field type in dozzle. Follow the instructions in the image below.

Note: Copy Paste the code below in the Portainer Stacks Web editor.

version: "3.9"
services:
  dozzle:
    container_name: Dozzle
    image: amir20/dozzle:latest
    mem_limit: 3g
    cpu_shares: 768
    security_opt:
      - no-new-privileges:true
    restart: on-failure:5
    ports:
      - 8892:8080
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock
      - /volume1/docker/dozzle:/data:rw
    environment:
     DOZZLE_AUTH_PROVIDER: simple

Dozzle Synology NAS Portainer Set up 1 new 2024

  • STEP 10

Scroll down on the page until you see a button namedĀ Deploy the stack. Click on it. Follow the instructions in the image below. The installation process can take up to a few minutes. It will depend on your Internet speed connection.

Dozzle Synology NAS Portainer Set up 2 new 2024

  • STEP 11

If everything goes right, you will see the following message at the top right of your screen: ā€œSuccess Stack successfully deployedā€œ.

Dozzle Synology NAS Portainer Set up 3

  • STEP 12

Go back toĀ STEP 1Ā or you will deal with karma šŸ™‚

  • STEP 13

The installation process can take up to a few minutes or less, seconds. It will depend on your Internet speed connection. Now open your browser and type in http://Synology-ip-address:8892 If everything goes right, you will see the Dozzle Login page. Type in your own USERNAME, in my case marius, as per the example at STEP 7, and your PASSWORD that you have chosen at STEP 6 Point 1 (NOT the SHA256 output password). Click Login. Follow the instructions in the image below.

Dozzle Synology NAS Portainer Set up 4

  • STEP 14

Your Dozzle dashboard at a glance!

Dozzle Synology NAS Portainer Set up 5

  • STEP 15

Real-Time Docker logs monitor. Click on the container whose log you want to see. Follow the instructions in the image below.

Dozzle Synology NAS Portainer Set up 6

  • STEP 16

You can easily change some Display options and use different themes by clicking the settings icon at the top on the left sidebar. Follow the instructions in the image below.

Dozzle Synology NAS Portainer Set up 7

Enjoy Dozzle!

šŸ†˜TROUBLESHOOTING

If you encounter issues by using this container, make sure to check out the Common Docker issuesĀ article.

Note: If you want to run the Dozzle container over HTTPS, check How to Run Docker Containers Over HTTPS. In order to make Dozzle work via HTTPS, it’s mandatory to activate WebSocket.

Note: Can I run Docker on my Synology NAS?Ā See the supported models.
Note: How to Back Up Docker Containers on your Synology NAS.
Note: Find outĀ how to update the Dozzle containerĀ with the latest image.
Note: How to Free Disk Space on Your NAS if You Run Docker.
Note: How to Schedule Start & Stop For Docker Containers.
Note: How to Activate Email Notifications.
Note: How to Add Access Control Profile on Your NAS.
Note: How to Change Docker Containers Restart Policy.
Note: How to Use Docker Containers With VPN.
Note: Convert Docker Run Into Docker Compose.
Note: How to Clean Docker.
Note: How to Clean Docker Automatically.
Note: Best Practices When Using Docker and DDNS.
Note: Some Docker Containers Need WebSocket.
Note: Find out the Best NAS Models For Docker.
Note: Activate Gmail SMTP For Docker Containers.

This post was updated on Wednesday / April 17th, 2024 at 2:04 PM