How to Install FileRun on Your Synology NAS

How to Install FileRun on Your Synology NAS

FileRun is a file manager that allows you to access your files from anywhere through a self-hosted secure cloud storage as well as provides file backup and sharing for your photos, videos, eBooks, files and more. FileRun is strictly file management application. In this step by step guide I will show you how to install FileRun on your Synology NAS using Docker & Portainer.

Note: This guide works perfectly with the latest version of FileRun 2022.05.19

  • STEP 1

Please Support My work by Making a Donation.

  • STEP 2

Install Docker via Synology “Package Center”.

Install Docker Synology DSM 7

  • STEP 3

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 4

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 5

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

1 FileRun Synology NAS Set up

  • STEP 6

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

2 FileRun Synology NAS Set up

  • STEP 7

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

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

Destination:
Protocol: HTTP
Hostname: localhost
Port: 8430

3 FileRun Synology NAS Set up

  • STEP 8

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.

4 FileRun Synology NAS Set up

  • STEP 9

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

5 FileRun Synology NAS Set up

  • STEP 10

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

6 FileRun Synology NAS Set up

  • STEP 11

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

FileRun Synology NAS Set up 1

  • STEP 12

Now create three new folders inside the filerun folder that you created at STEP 11. Name them datadbfiles. Follow the instructions in the image below.
Note: Be careful enter only lowercase, not uppercase letters.

FileRun Synology NAS Set up 2

  • STEP 13

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

1 Synology Portainer Add Stack

  • STEP 14

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

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

version: '3'

services:
  db:
    image: mariadb
    container_name: FileRun-DB
    environment:
      MYSQL_ROOT_PASSWORD: filerun
      MYSQL_USER: filerun
      MYSQL_PASSWORD: filerun
      MYSQL_DATABASE: filerun
    volumes:
      - /volume1/docker/filerun/db:/var/lib/mysql

  web:
    image: filerun/filerun
    container_name: FileRun
    environment:
      FR_DB_HOST: db
      FR_DB_PORT: 3306
      FR_DB_NAME: filerun
      FR_DB_USER: filerun
      FR_DB_PASS: filerun
    depends_on:
      - db
    links:
      - db:db
    ports:
      - 8430:80
    volumes:
      - /volume1/docker/filerun/data:/var/www/html
      - /volume1/docker/filerun/files:/user-files

7 FileRun Synology NAS Set up

  • STEP 15

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.

8 FileRun Synology NAS Set up

  • STEP 16

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

9 FileRun Synology NAS Set up

  • STEP 17

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

  • STEP 18

Now open your browser and type in your HTTPS/SSL certificate like this https://filerun.yourname.synology.me In my case it’s https://filerun.mariushosting.synology.me If everything goes right, you will see the FileRun installation page. Click Next. Follow the instructions in the image below.

10 FileRun Synology NAS Set up

  • STEP 19

After the Server requirements check is done, click Next. Follow the instructions in the image below.

11 FileRun Synology NAS Set up

  • STEP 20

Don’t change anything in the Database setup. Click Next. Follow the instructions in the image below.

12 FileRun Synology NAS Set up

  • STEP 21

Your default username will be superuser. Copy the generated password because you will need it on the next STEP. Click Next. Follow the instructions in the image below.

13 FileRun Synology NAS Set up

  • STEP 22

Type in superuser as username and type in the password you have previously copied at STEP 21. Click Sign in. Follow the instructions in the image below.

14 FileRun Synology NAS Set up

  • STEP 23

On the left sidebar click Superuser. Change Password, add email, add profile image then click Save changes. Follow the instructions in the image below.

15 FileRun Synology NAS Set up

  • STEP 24

Drag and Drop your files from your NAS or PC inside FileRun. Follow the instructions in the image below.

16 FileRun Synology NAS Set up

  • STEP 25

You can add details, comments or tags to every file.

17 FileRun Synology NAS Set up

  • STEP 26

You can upload and read your own eBook files in ePUB format without worries about metadata.

18 FileRun Synology NAS Set up

Reading from your PC, Tablet or Mobile Phone is blazing fast!

19 FileRun Synology NAS Set up

Note: Can I run Docker on my Synology NAS? See the supported models.
Note: Find out how to update FileRun 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.

This post was updated on Friday / September 9th, 2022 at 1:06 PM