Running GitProtect Worker On QNAP NAS

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

Environment setup

To create a docker container on QNAP NAS it is required to download the Container Station application available on QNAP App Center. Connect to your QNAP Web panel, log into it and open the App Center application. Select the All Apps section and search for Container Station.

Download the application, open it and select the path, which will be used as a directory of your docker container data. Click Start Now to proceed. After that, download the GitProtect worker docker image, which is available on our official server.



After downloading Container Station and GitProtect worker docker image you're ready to deploy the agent. Open the Container Station application and open the Import tab. Click the +Import button to upload a previously downloaded file.

QNAP will now display the Create Import Task window, where you can select the Source location of the GitProtect worker docker file. By choosing Local source you can select the file from your device, while the NAS option is dedicated to the files located directly on QNAP.

After selecting the Source and the docker image file path click the Next button.

QNAP will now display the Create Container window, which allows you to configure the GitProtect worker docker container.

This form consists of a few fields, but the most important are:

  • Name - where you can set a name for a container,

  • Auto start - a switch, which defines if the container should startup automatically(in case of QNAP restart i.e.)

  • CPU Limit - that allows you to set the percentage of CPU usage available for a container,

  • Memory Limit - RAM dedicated to a container.

By scrolling down the window you'll be able to open Advanced Settings.

Click the Advanced Settings >> button and after that select the Environment section. Add a new environment variable by clicking Add button, name it ManagementServiceUrl and set its value to your GitProtect Management Service address (including port and protocol).

Click Create 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 OK button.

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

Docker Hub

Instead of importing an image, you can use the images provided on Docker Hub. Go to the Create tab. Here type xopero/xopero-one-service and click the Install button. Then select the latest version from the list and the Create container window will open. Then follow the instructions above.

Last updated