How to Install Hyperpipe on Your Synology NAS

How to Install Hyperpipe on Your Synology NAS

Hyperpipe is a Privacy Respecting Frontend for YouTube Music inspired and built with the help of Piped and YouTube’s InnerTube API. In the guide below you will install not only Hyperpipe, but Piped as well to raise your privacy to unbelievable levels. One of the things I most appreciate about Hyperpipe and Piped is that you can listen to YouTube music and watch YouTube videos without any kind of commercial interruption. In this step by step guide I will show you how to install Hyperpipe on your Synology NAS using Docker & Portainer.

  • 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

Make sure you have a synology.me Wildcard Certificate. Follow my guide to get a Wildcard Certificate. If you already have a synology.me Wildcard certificate, skip this STEP.

  • STEP 4

Install Text Editor via Synology “Package Center”. (Mandatory STEP.) If you already have Text Editor installed on your Synology NAS, skip this STEP.

Synology Install Text Editor 2023

  • STEP 5

Go to Control Panel / Network / Connectivity tab/ Check Enable HTTP/2 then click Apply. Follow the instructions in the image below.

Hyperpipe Synology NAS Set up 1

  • STEP 6

Go to Control Panel / Security / Advanced tab/ Check Enable HTTP Compression then click Apply. Follow the instructions in the image below.

Hyperpipe Synology NAS Set up 2

  • STEP 7

Go to Control Panel / Login Portal / Advanced Tab / click Reverse Proxy. Follow the instructions in the image below.

Hyperpipe Synology NAS Set up 3

  • STEP 8

Now click the “Create” button. Follow the instructions in the image below.

Hyperpipe Synology NAS Set up 4

  • STEP 9

After you click the Create button, the window below will open. Follow the instructions in the image below.

On the General area, set the Reverse Proxy Name description: type in Piped-PROXY. After that, add the following instructions:

Source:
Protocol: HTTPS
Hostname: pipedproxy.yourname.synology.me
Port: 443

Check Enable HSTS

Destination:
Protocol: HTTP
Hostname: localhost
Port: 8045

Hyperpipe Synology NAS Set up 5

  • STEP 10

On the Reverse Proxy Rules click the Custom Header tab. Click Create and then, from the drop-down menu, click WebSocket. After you click on WebSocket, two Header Names and two Values will be automatically added. Click Save. Follow the instructions in the image below.

Synology Proxy WebSocket

  • STEP 11

Go to Control Panel / Login Portal / Advanced Tab / click Reverse Proxy. Follow the instructions in the image below.

Hyperpipe Synology NAS Set up 6

  • STEP 12

Now click the “Create” button. Follow the instructions in the image below.

Hyperpipe Synology NAS Set up 7

  • STEP 13

After you click the Create button, the window below will open. Follow the instructions in the image below.

On the General area, set the Reverse Proxy Name description: type in Piped-API. After that, add the following instructions:

Source:
Protocol: HTTPS
Hostname: pipedapi.yourname.synology.me
Port: 443

Check Enable HSTS

Destination:
Protocol: HTTP
Hostname: localhost
Port: 8045

Hyperpipe Synology NAS Set up 8

  • STEP 14

On the Reverse Proxy Rules click the Custom Header tab. Click Create and then, from the drop-down menu, click WebSocket. After you click on WebSocket, two Header Names and two Values will be automatically added. Click Save. Follow the instructions in the image below.

Synology Proxy WebSocket

  • STEP 15

Go to Control Panel / Login Portal / Advanced Tab / click Reverse Proxy. Follow the instructions in the image below.

Hyperpipe Synology NAS Set up 9

  • STEP 16

Now click the “Create” button. Follow the instructions in the image below.

Hyperpipe Synology NAS Set up 10

  • STEP 17

After you click the Create button, the window below will open. Follow the instructions in the image below.

On the General area, set the Reverse Proxy Name description: type in Piped. After that, add the following instructions:

Source:
Protocol: HTTPS
Hostname: piped.yourname.synology.me
Port: 443

Check Enable HSTS

Destination:
Protocol: HTTP
Hostname: localhost
Port: 8045

Hyperpipe Synology NAS Set up 11

  • STEP 18

On the Reverse Proxy Rules click the Custom Header tab. Click Create and then, from the drop-down menu, click WebSocket. After you click on WebSocket, two Header Names and two Values will be automatically added. Click Save. Follow the instructions in the image below.

Synology Proxy WebSocket

  • STEP 19

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

Hyperpipe Synology NAS Set up 12

  • STEP 20

Now create two new folders inside the piped folder that you created at STEP 19 and name them db and piped-proxy. Follow the instructions in the image below.
Note: Be careful to enter only lowercase, not uppercase letters.

Hyperpipe Synology NAS Set up 13

  • STEP 21

Download the config.properties file by clicking the blue link below. Using notepad or something similar on your computer, change the 3 lines in this file then save it. Follow the instructions in the image below. 🔒Note: Support my work to unlock the password. You can use this password to download any file on mariushosting forever!

👉🏻Download config.properties file

After PROXY_PART: Type in your own synology.me DDNS that you have previously created at STEP 9.
After API_URL: Type in your own synology.me DDNS that you have previously created at STEP 13.
After FRONTEND_URL: Type in your own synology.me DDNS that you have previously created at STEP 17.

Hyperpipe Synology NAS Set up 14

  • STEP 22

Upload the modified config.properties file below in the piped folder that you have previously created at STEP 19. Follow the instructions in the image below.

Hyperpipe Synology NAS Set up 15

  • STEP 23

Download (click on the blue link below), unzip, then upload the files inside the piped folder that you have previously created at STEP 19. Follow the instructions in the image below. 🔒Note: Support my work to unlock the password. You can use this password to download any file on mariushosting forever!

👉🏻Download Piped conf.zip file

Hyperpipe Synology NAS Set up 16

  • STEP 24

It’s mandatory to have Text Editor installed as per the instructions at STEP 4. Double click on the pipedapi.conf file. Change the server_name with your own synology.me DDNS that you have previously created at STEP 13. Click X at the top right to save the file. Follow the instructions in the image below.

Hyperpipe Synology NAS Set up 17

  • STEP 25

It’s mandatory to have Text Editor installed as per the instructions at STEP 4. Double click on the pipedfrontend.conf file. Change the server_name with your own synology.me DDNS that you have previously created at STEP 17. Click X at the top right to save the file. Follow the instructions in the image below.

Hyperpipe Synology NAS Set up 18

  • STEP 26

It’s mandatory to have Text Editor installed as per the instructions at STEP 4. Double click on the pipedproxy.conf file. Change the server_name with your own synology.me DDNS that you have previously created at STEP 9. Click X at the top right to save the file. Follow the instructions in the image below.

Hyperpipe Synology NAS Set up 19

  • STEP 27

Go to Control Panel / Login Portal / Advanced Tab / click Reverse Proxy. Follow the instructions in the image below.

Hyperpipe Synology NAS Set up 20

  • STEP 28

Now click the “Create” button. Follow the instructions in the image below.

Hyperpipe Synology NAS Set up 21

  • STEP 29

After you click the Create button, the window below will open. Follow the instructions in the image below.

On the General area, set the Reverse Proxy Name description: type in Hyperpipe-API. After that, add the following instructions:

Source:
Protocol: HTTPS
Hostname: hyperpipeapi.yourname.synology.me
Port: 443

Check Enable HSTS

Destination:
Protocol: HTTP
Hostname: localhost
Port: 3771

Hyperpipe Synology NAS Set up 22

 

  • STEP 30

On the Reverse Proxy Rules click the Custom Header tab. Click Create and then, from the drop-down menu, click WebSocket. After you click on WebSocket, two Header Names and two Values will be automatically added. Click Save. Follow the instructions in the image below.

Synology Proxy WebSocket

 

  • STEP 31

Go to Control Panel / Login Portal / Advanced Tab / click Reverse Proxy. Follow the instructions in the image below.

Hyperpipe Synology NAS Set up 23

  • STEP 32

Now click the “Create” button. Follow the instructions in the image below.

Hyperpipe Synology NAS Set up 24

  • STEP 33

After you click the Create button, the window below will open. Follow the instructions in the image below.

On the General area, set the Reverse Proxy Name description: type in Hyperpipe. After that, add the following instructions:

Source:
Protocol: HTTPS
Hostname: hyperpipe.yourname.synology.me
Port: 443

Check Enable HSTS

Destination:
Protocol: HTTP
Hostname: localhost
Port: 8745

Hyperpipe Synology NAS Set up 25

  • STEP 34

On the Reverse Proxy Rules click the Custom Header tab. Click Create and then, from the drop-down menu, click WebSocket. After you click on WebSocket, two Header Names and two Values will be automatically added. Click Save. Follow the instructions in the image below.

Synology Proxy WebSocket

  • STEP 35

You will have a total of 5 Reverse Proxies. Go to the next STEP.

Hyperpipe Synology NAS Set up 26

  • STEP 36

Log into Portainer using your username and password. In the left sidebar in Portainer, click on Stacks then + Add stack. Follow the instructions in the image below.

1 Synology Portainer Add Stack

  • STEP 37

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

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

version: "3.9"
services:
  db:
    image: postgres:16
    container_name: Piped-DB
    hostname: piped-db
    mem_limit: 512m
    cpu_shares: 768
    security_opt:
      - no-new-privileges:true
    healthcheck:
      test: ["CMD", "pg_isready", "-q", "-d", "piped", "-U", "pipeduser"]
      timeout: 45s
      interval: 10s
      retries: 10
    volumes:
      - /volume1/docker/piped/db:/var/lib/postgresql/data:rw
    environment:
      POSTGRES_DB: piped
      POSTGRES_USER: pipeduser
      POSTGRES_PASSWORD: pipedpass
    restart: on-failure:5

  piped-proxy:
    image: 1337kavin/piped-proxy:latest
    container_name: Piped-PROXY
    hostname: piped-proxy
    mem_limit: 512m
    cpu_shares: 768
    security_opt:
      - no-new-privileges:true
    read_only: true
    volumes:
      - /volume1/docker/piped/piped-proxy:/app/socket:rw
    environment:
      UDS: 1
    restart: on-failure:5

  piped-back:
    image: 1337kavin/piped:latest
    container_name: Piped-BACKEND
    hostname: piped-backend
    mem_limit: 2g
    cpu_shares: 768
    security_opt:
      - no-new-privileges:true
    healthcheck:
      test: stat /etc/passwd || exit 1
    volumes:
      - /volume1/docker/piped/config.properties:/app/config.properties:ro
    restart: on-failure:5
    depends_on:
      db:
        condition: service_healthy

  piped-front:
    image: 1337kavin/piped-frontend:latest
    entrypoint: ash -c 'sed -i s/pipedapi.kavin.rocks/pipedapi.yourname.synology.me/g /usr/share/nginx/html/assets/* && /docker-entrypoint.sh && nginx -g "daemon off;"'
    container_name: Piped-FRONTEND
    hostname: piped-frontend
    mem_limit: 1g
    cpu_shares: 768
    security_opt:
      - no-new-privileges:true
    healthcheck:
      test: wget --no-verbose --tries=1 --spider http://localhost:80
    restart: on-failure:5
    depends_on:
      piped-back:
        condition: service_healthy

  nginx:
    image: nginx:mainline-alpine
    container_name: Piped-NGINX
    hostname: nginx
    mem_limit: 512m
    cpu_shares: 768
    security_opt:
      - no-new-privileges:true
    healthcheck:
      test: wget --no-verbose --tries=1 --spider http://localhost:80
    ports:
      - 8045:80
    volumes:
      - /volume1/docker/piped/nginx.conf:/etc/nginx/nginx.conf:ro
      - /volume1/docker/piped/pipedapi.conf:/etc/nginx/conf.d/pipedapi.conf:ro
      - /volume1/docker/piped/pipedproxy.conf:/etc/nginx/conf.d/pipedproxy.conf:ro
      - /volume1/docker/piped/pipedfrontend.conf:/etc/nginx/conf.d/pipedfrontend.conf:ro
      - /volume1/docker/piped/ytproxy.conf:/etc/nginx/snippets/ytproxy.conf:ro
      - /volume1/docker/piped/piped-proxy:/var/run/ytproxy:rw
    restart: on-failure:5
    depends_on:
      piped-back:
        condition: service_healthy
      piped-front:
        condition: service_healthy
      piped-proxy:
        condition: service_started

  hyperpipe-back:
    image: codeberg.org/hyperpipe/hyperpipe-backend:latest
    container_name: Hyperpipe-API
    hostname: hyperpipe-backend
    mem_limit: 512m
    cpu_shares: 768
    security_opt:
      - no-new-privileges:true
    read_only: true
    user: 1026:100
    ports:
      - 3771:3000
    environment:
      HYP_PROXY: hyperpipe-proxy.onrender.com
    restart: on-failure:5
    depends_on:
      nginx:
        condition: service_healthy

  hyperpipe-front:
    image: codeberg.org/hyperpipe/hyperpipe:latest
    entrypoint: sh -c 'find /usr/share/nginx/html -type f -exec sed -i s/pipedapi.kavin.rocks/pipedapi.yourname.synology.me/g {} \; -exec sed -i s/hyperpipeapi.onrender.com/hyperpipeapi.yourname.synology.me/g {} \; && /docker-entrypoint.sh && nginx -g "daemon off;"'
    container_name: Hyperpipe-FRONTEND
    hostname: hyperpipe-frontend
    mem_limit: 512m
    cpu_shares: 768
    security_opt:
      - no-new-privileges:true
    healthcheck:
      test: wget --no-verbose --tries=1 --spider http://localhost
    ports:
      - 8745:80
    restart: on-failure:5
    depends_on:
      hyperpipe-back:
        condition: service_started

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: On the piped-front entrypoint area type in your own synology.me DDNS pipedapi that you have previously created at STEP 13 without https at the beginning.
Note: On the hyperpipe-front entrypoint area type in your own synology.me DDNS pipedapi that you have previously created at STEP 13 without https at the beginning.
Note: On the hyperpipe-front entrypoint area type in your own synology.me DDNS hyperpipeapi that you have previously created at STEP 29 without https at the beginning.

Hyperpipe Synology NAS Set up 27 new 2025

  • STEP 38

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.

Hyperpipe Synology NAS Set up 28 new 2025

Please wait approximately 5/10 minutes for the installation to be completed.

  • STEP 39

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

Hyperpipe Synology NAS Set up 29

  • STEP 40

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

  • STEP 41

For Music. Open your browser and type in your HTTPS/SSL (STEP 33) certificate like this https://hyperpipe.yourname.synology.me In my case it’s https://hyperpipe.mariushosting.synology.me If everything goes right, you will see the Hyperpipe homepage. Search for music in complete autonomy. No more ADS and No more Interruptions! Follow the instructions in the image below.

Hyperpipe Synology NAS Set up 30

  • STEP 42

For Video. Open your browser and type in your HTTPS/SSL (STEP 17) certificate like this https://piped.yourname.synology.me In my case it’s https://piped.mariushosting.synology.me If everything goes right, you will see the Piped homepage with the Trending videos. Search for something in complete autonomy. No more ADS and No more Interruptions! Follow the instructions in the image below.

Hyperpipe Synology NAS Set up 31

Enjoy Hyperpipe and Piped together!

Take a look at the Piped Full Documentation.

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 Hyperpipe 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 Monday / August 26th, 2024 at 12:44 AM