Running GitProtect worker on Synology NAS

This article describes how to install and configure the GitProtect worker application running as a docker container on Synology NAS.

Environment setup

To set up GitProtect worker as a docker container on Synology, install the Docker application first. To do so, open Package Center and select the All Packages tab and search for Docker, then click Install to proceed.

Synology NAS - Package Center

After that download the GitProtect worker docker image. GitProtect worker is available on our official server.

Download:

Deployment

Open Docker on Synology, go to the Image tab and click the Add button, and select the Add From File option.

Synology NAS adding agent image from file

On the next window - named Select a file, you can Upload or select a path from your NAS device to GitProtect worker docker image.

Synology NAS selecting agent image file

After that, click the Select button. Choose the image that you import and click the Launch button.

Synology NAS launching container from agent image

First, it's recommended to Enable the auto-restart function for the container on the Advanced Settings tab.

Synology NAS general settings of agent container

Add a new environment variable by clicking Add button, name it MANAGEMENTSERVICEURL, and set the value to your GitProtect Management Service address (including port and protocol).

Synology NAS advanced settings of agent container

Click the Save button. Skip the next window with the Next button.

Synology NAS port settings of agent container

Click the Next button to open the Summary - a part, where you can review all the settings to make sure that everything has been set properly. If everything is right, then proceed with the Done button.

Synology NAS summary of agent container

As soon as the container creation process is finished, connect to your GitProtect Web panel to activate the agent.

Last updated