Synology: Install Uptime Kuma With Portainer

Synology Install Uptime Kuma With Portainer

My previous guide for Uptime Kuma involved the use of Task Scheduler. Today I’m offering a recommended and excellent alternative for installing the latest Uptime Kuma version via Portainer. Be the first who knows that your website is down. Reliable monitoring warns you before any significant troubles and saves you money. Uptime Kuma monitors your website constantly. Monitoring uptime for HTTP(s) / TCP / Ping. Fancy, Reactive, Fast UI/UX. Notifications via Webhook, Telegram, Discord and email (SMTP). 20 seconds interval. In this step by step guide I will show you how to install Uptime Kuma on your Synology NAS using Docker & Portainer.

💡Note: This guide works perfectly with the latest Uptime Kuma 1.23.12 release.

  • STEP 1

Please Support My work by Making a Donation.

  • STEP 2

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 3

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

Uptime Kuma Synology NAS Portainer Set up 1

  • STEP 4

Go to Control Panel / Task Scheduler / Create / Scheduled Task / User-defined script. Follow the instructions in the image below.

Synology User Defined Script

  • STEP 5

Once you click on User-defined script, a new window will open. Follow the instructions below:

  1. General: In the Task field type in Uptime Kuma Permission. Uncheck “Enabled” option. Select root User.
  2. Schedule: Select Run on the following date then select “Do not repeat“.
  3. Task Settings: Check “Send run details by email“, add your email then copy paste the code below in the Run command area. After that click OK.
chown -R 1000:1000 /volume1/docker/uptimekuma

Uptime Kuma Synology NAS Portainer Set up 2

  • STEP 6

After you click OK on STEP 5 a new warning pop up window will open. Click OK.

Uptime Kuma Synology NAS Portainer Set up 3

After you click OK, type in your DSM Password then click Submit. Follow the instructions in the image below.

Synology Task Scheduler Confirm Admin Password

  • STEP 7

After you click Submit on STEP 6, select your “Uptime Kuma Permission” Task then click the “Run” tab. You will be asked to run Uptime Kuma Permission – click OK. Follow the instructions in the image below.

Uptime Kuma Synology NAS Portainer 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 uptimekuma. Follow the instructions in the image below.

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

version: "3.9"
services:
  uptimekuma:
    image: louislam/uptime-kuma
    container_name: Uptime-Kuma
    hostname: uptimekuma
    mem_limit: 3g
    cpu_shares: 1024
    security_opt:
      - no-new-privileges:false
    ports:
      - 3444:3001
    volumes:
      - /volume1/docker/uptimekuma:/app/data:rw
      - /var/run/docker.sock:/var/run/docker.sock
    environment:
      TZ: Europe/Bucharest
    restart: on-failure:5

Note: Before you paste the code above in the Web editor area below, change the value for TZ. (Select your current Time Zone from this list.)

Uptime Kuma Synology NAS Portainer Set up 5 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.

Uptime Kuma Synology NAS Portainer Set up 6 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“.

Uptime Kuma Synology NAS Portainer Set up 7

  • STEP 12

Go back to STEP 1 or you will deal with karma 🙂

  • STEP 13

The installation process can take up to a few seconds/minutes. It will depend on your Internet speed connection. Now open your browser and type in http://Synology-ip-address:3444 Choose your language. Create a Username and a Password and then click Create. Follow the instructions in the image below. Note: Uptime Kuma does not accept weak passwords.

Uptime Kuma Synology NAS Portainer Set up 8

  • STEP 14

Click +Add New Website Monitor on the left. Add your website parameters, then click Save. Follow the instructions in the image below. Note: You can monitor multiple websites at the same time.

Uptime Kuma Synology NAS Portainer Set up 9

  • STEP 15

At the top right of the page click on the account icon, then Settings. Follow the instructions in the image below.

Uptime Kuma Synology NAS Portainer Set up 10

  • STEP 16

You can change your Theme and switch to Dark Mode. Follow the instructions in the image below.

Uptime Kuma Synology NAS Portainer Set up 11

  • STEP 17

Click on Setup Notification to set up your notifications. Follow my Step by step guide on how to Set Up Email Notifications on Uptime Kuma and Step by step guide on how to Set Up Ntfy Notifications for Uptime Kuma.

Uptime Kuma Synology NAS Portainer Set up 12

Select your favorite Notification Type from the list, then click Save. Follow the instructions in the image below.

Uptime Kuma Synology NAS Portainer Set up 13

Uptime Kuma has an easy and intuitive interface!

📊Take a Look at My Status Page

Uptime Kuma Synology NAS Portainer Set up 14

Enjoy Uptime Kuma!

🆘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 Uptime Kuma container over HTTPS, check How to Run Docker Containers Over HTTPS. In order to make Uptime Kuma 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 Uptime Kuma 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 Container

This post was updated on Sunday / April 21st, 2024 at 2:13 PM