How to Install Projectsend on Your Synology NAS

How to Install Projectsend on Your Synology NAS

ProjectSend is a self-hosted application that lets you upload files and assign them to specific clients that you create yourself. Secure, private and easy. No more depending on external services or e-mail to send those files. In this step by step guide I will show you how to install ProjectSend on your Synology NAS using Docker & Portainer.

💡Note: This guide works perfectly with the latest ProjectSend r1605 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

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

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

ProjectSend Synology NAS Set up 1 new 2023

  • STEP 5

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

ProjectSend Synology NAS Set up 2 new 2023

  • STEP 6

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 ProjectSend. After that, add the following instructions:

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

Check Enable HSTS

Destination:
Protocol: HTTP
Hostname: localhost
Port: 8516

ProjectSend Synology NAS Set up 3 new 2023

  • STEP 7

In 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 8

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

ProjectSend Synology NAS Set up 4 new 2023

  • STEP 9

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

ProjectSend Synology NAS Set up 5 new 2023

  • STEP 10

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

ProjectSend Synology NAS Set up 6 new 2023

  • STEP 11

Now create three new folders inside the projectsend folder that you created at STEP 10 and name them config, data, db. Follow the instructions in the image below.
Note: Be careful enter only lowercase, not uppercase letters.

ProjectSend Synology NAS Set up 7 new 2023

  • STEP 12

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 13

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

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

version: '3.9'
services:
  projectsend:
    container_name: ProjectSend
    image: ghcr.io/linuxserver/projectsend
    healthcheck:
     test: curl -f http://localhost:80/ || exit 1
    environment:
      MAX_UPLOAD: 20000
      MYSQL_DATABASE: projectsend
      MYSQL_USER: projectsend
      MYSQL_PASSWORD: projectsend
      PUID: 1026
      PGID: 100
      TZ: Europe/Bucharest
    volumes:
      - /volume1/docker/projectsend/config:/config
      - /volume1/docker/projectsend/data:/data
    ports:
      - 8516:80
    depends_on:
      db:
        condition: service_started
    restart: on-failure:5
    
  db:
    container_name: ProjectSend-DB
    image: mariadb:jammy
    security_opt:
      - no-new-privileges:true
    healthcheck:
     test: ["CMD-SHELL", "mysqladmin ping -P 3306 -prootpass | grep 'mysqld is alive' || exit 1"]
    environment:
      MYSQL_ROOT_PASSWORD: rootpass
      MYSQL_DATABASE: projectsend
      MYSQL_USER: projectsend
      MYSQL_PASSWORD: projectsend
      TZ: Europe/Bucharest
    volumes:
      - /volume1/docker/projectsend/db:/var/lib/mysql:rw
    restart: on-failure:5

Note: Before you paste the code above in the Web editor area below, change the value numbers for PUID and PGID values. (Follow my step by step guide on how to do this.) 1026 is my personal PUID value and 100 is my personal PGID value. You have to type in your own values.
Note: Before you paste the code above in the Web editor area below, change the value for TZ (Select your current Time Zone from this list).

ProjectSend Synology NAS Set up 8 new 2023

  • STEP 14

Scroll down on the page until you see a button called 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 connection speed.

ProjectSend Synology NAS Set up 9 new 2023

  • STEP 15

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

ProjectSend Synology NAS Set up 10 new 2023

  • STEP 16

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

  • STEP 17

Now open your browser and type in your HTTPS/SSL certificate like this https://projectsend.yourname.synology.me In my case it’s https://projectsend.mariushosting.synology.me If everything goes right, you will see the projectsend installation page. In the database configuration add the following parameters:

  1. Host: db
  2. Database name: projectsend
  3. Username: projectsend
  4. Password: projectsend

Scroll down the page. Follow the instructions in the image below.

ProjectSend Synology NAS Set up 11 new 2023

  • STEP 18

After you scroll down the page, click on the “Check” button. Follow the instructions in the image below.

ProjectSend Synology NAS Set up 12 new 2023

  • STEP 19

After you click on the Check button, you will see if your database parameters are correct – if they are, they will have a green checkmark. Scroll down the page. Follow the instructions in the image below.

ProjectSend Synology NAS Set up 13 new 2023

  • STEP 20

After you scroll down the page, click on the “Write config file” button. Follow the instructions in the image below.

ProjectSend Synology NAS Set up 14 new 2023

  • STEP 21

Add you site name and the Projectsend URL. The automatic link that will appear to you will be in http; change it to https. Add your own system administrator credentials then click Install. Follow the instructions in the image below.

Projectsend Synology NAS Set up 16 new

  • STEP 22

After you click Install at STEP 21, click Log in. Follow the instructions in the image below.

Projectsend Synology NAS Set up 17 new

  • STEP 23

Log in using your own credentials you have previously created at STEP 21. Follow the instructions in the image below.

Projectsend Synology NAS Set up 18 new

Your ProjectSend Dashboard at a glance!

ProjectSend Synology NAS Set up 15 new 2023

Start uploading your files!

ProjectSend Synology NAS Set up 16 new 2023

Share your files!

ProjectSend Synology NAS Set up 17 new 2023

  • STEP 24

Follow my Step by step guide on how to Set Up Email Notifications on ProjectSend.

Enjoy ProjectSend!

Note: Find out how to update the Projectsend container with the latest image.
Note: Can I run Docker on my Synology NAS? See the supported models.
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 Sunday / February 12th, 2023 at 12:57 AM