How to Install SerpBear on Your Synology NAS

How to Install SerpBear on Your Synology NAS

SerpBear is an Open Source Search Engine Position Tracking App. It allows you to track your website’s keyword positions in Google and get notified of their positions. In this step by step guide I will show you how to install SearBear on your Synology NAS using Docker and Portainer.

šŸ’”Note: This guide works perfectly with the latest SerpBear v2.0.6Ā 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Ā serpbear. Follow the instructions in the image below.
Note: Be careful to enter only lowercase, not uppercase letters.

SerpBear Synology NAS Set up 1

  • STEP 4

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 6

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

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

version: "3.9"
services:
  serpbear:
    image: towfiqi/serpbear:latest
    container_name: SerpBear
    hostname: serpbear
    security_opt:
      - no-new-privileges:true
    healthcheck:
      test: wget --no-verbose --tries=1 --spider http://localhost:3000/ || exit 1
    user: 1026:100
    ports:
      - 8495:3000
    environment:
      - USER=marius
      - PASSWORD=mariushosting
      - SECRET=4715aed3216f7b0a38e6b534a958362654e96d10fbc04700770d572af3dce43625dd
      - APIKEY=MariushostingMariushostingMari13
      - NEXT_PUBLIC_APP_URL=http://localhost:3000
    volumes:
      - /volume1/docker/serpbear:/app/data
    restart: always

Note: Before you paste the code above in the Web editor area below, change the value numbers for user with your own UID and GID values. (Follow my step by step guide on how to do this.) 1026 is my personal UID value and 100 is my personal GID value. You have to type in your own values.
Note: Before you paste the code above in the Web editor area, change the value for USERĀ and add your own username. marius is an example for a username. You have to insert your own username.
Note: Before you paste the code above in the Web editor area, change the value for PASSWORD and add your own password. mariushosting is an example for a password. You have to insert your own password.
Note: Before you paste the code above in the Web editor area below, change the value for APIKEY and add your own APIKEY. MariushostingMariushostingMari13 is an example for an APIKEY. You should invent your own Value. Add 32 random characters, both letters and numbers.

SerpBear Synology NAS Set up 2

  • STEP 7

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.

SerpBear Synology NAS Set up 3

  • STEP 8

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

SerpBear Synology NAS Set up 4

  • STEP 9

šŸŸ¢Please Support My work by Making a Donation. Almost 99,9% of the people that install something using my guidesĀ forget to support my work, or justĀ ignoreĀ STEP 1. Iā€™ve been very honest about this aspect of my work since the beginning: I donā€™t run any ADS, I donā€™t require subscriptions, paid or otherwise, I donā€™t collect IPs, emails, and I donā€™t have any referral links from Amazon or other merchants. I also donā€™t have any POP-UPs or COOKIES. I have repeatedly been told over the years how much I have contributed to the community. Itā€™s something I love doing and have been honest about my passion since the beginning. But I also Need The Community to Support me Back to be able to continue doing this work.

  • STEP 10

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:8495 In the Username and Password area type in your own Username and Password that you have previously added at STEP 6. Click Login. Follow the instructions in the image below.

SerpBear Synology NAS Set up 5

  • STEP 11

On the Domain Name area type in your own Domain Name then click Add Domain. Follow the instructions in the image below.

SerpBear Synology NAS Set up 6

  • STEP 12

At the top right of the page click Settings. Follow the instructions in the image below.

SerpBear Synology NAS Set up 7

  • STEP 13

Click on the blue link below to create a free ScrapingAnt account.

ScrapingAnt

  • STEP 14

Check your email then confirm your email address to start using ScrapingAnt. Follow the instructions in the image below.

SerpBear Synology NAS Set up 8

  • STEP 15

On the ScrapingAnt account go to Dashboard then copy your own API token. Follow the instructions in the image below.

SerpBear Synology NAS Set up 9

  • STEP 16

Now open SerpBear then select ScrapingAnt as Scraping Method. Paste your own API Token that you have previously copied at STEP 15 in the appropriate area. Click Update Settings. Follow the instructions in the image below.

SerpBear Synology NAS Set up 10

  • STEP 17

After you click Update Settings at STEP 16 refresh the page then click Add Keyword. Type in the Keywords you want to monitor. Select the country where you want the keyword to be monitored then click Add Keywords. Follow the instructions in the image below.

SerpBear Synology NAS Set up 11

From now on, the keyword for your website will automatically monitored. You can see if the Keyword goes up or down on Google.

SerpBear Synology NAS Set up 12

Enjoy SerpBear!

šŸ†˜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 SerpBear container over HTTPS, check my guide on How to Run Docker Containers Over HTTPS.

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 SerpBear 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 / January 15th, 2025 at 11:27 AM