This guide will show you how to run the docker-notify docker image on a Synology NAS running DSM 6.
- A Docker compatible Synology NAS
- Disk Station Manager 6+
Install the Docker app using the Synology DSM Package Center.
Using a terminal or your DSM File Station, create a new empty folder to store your docker-notify configuration in. This will allow you to update, delete and recreate containers without loosing any personal configuration. Since you may have more than one Docker container, you might want first a folder for all your docker containers and then a folder for each container. So in this case, docker/docker-notify. If you already have docker running, just create a docker-notify directory inside the folder where you store your other dockers.
This is no different on Synology than any other platform.
Place your config.json file in the folder you defined earlier, docker/docker-notify in the previous step.
It is a good idea to validate your config.json using a tool like https://jsonlint.com/?code= to be sure it is ready before starting. Any error in you config.json may cause the container to continuously restart. You can also use the example config.json as a test and once you know the container is working, stop the container, replace the config.json with your own, and then restart the container.
In the folder you defined earlier, docker/docker-notify create a folder called, cache.
Open the Docker app on your Synology DSM, go to the Registry section and then search for and download the chlabbi/docker-notify image.
When the container download is complete, launch a new container using the chlabbi/docker-notify image.
Choose a name and then click Advanced Settings:
Check the box to Enable auto-restart. This is recommended if you want your container to automatically restart after your Synology DSM reboots or if docker-notify crashes.
Click the Volume tab and then Add Folder.
Choose the folder— docker/docker-notify used in this example, and set the Mount path to be /usr/src/app/cache.
Next, add a file with the mount path as /usr/src/app/config.json as shown which connects to the config.json file you created previously.
Click the Network tab and check the box to Use the same network as Docker host.
Click the Environment tab and add a new environment variable named TZ. The value of the TZ database you can lookup yours here.
Click OK to save your advanced settings and then click Apply to start the Schlabbi/docker-notify container.
Now select the docker-notify conainer and click on the Deails button and click on the Logs tab. That will show you a message like this that shows things are working.

To update to the latest version of docker-notify container, go to the Docker app in Synology.
-
On the
Containertab stop the existing docker-notify container (Select the container, then Action > Stop). -
Edit the existing container and change it's name to
docker-notify-old. -
Go to the
Imagetab. -
Delete that image. (Note Synology Docker may not let you delete the image if it is associated with a container. If that's the case, continue on to the next step.)
-
Go to the
Registrytab and findschlabbi/docker-notifyby searching fordocker-notify. Select it and use theDownloadbutton or double click on it.
-
When the image download is complete, go to the
Containertab and selectdocker-notify-oldthen clickSettingsthenDuplicate settings. -
Rename the container
docker-notify. -
Start the
docker-notifycontainer. -
Delete the
docker-notify-oldcontainer once you have confirmed everything is working.








