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

⚠️FileRun Deprecation Notice May 18, 2023: FileRun Free version is no longer available to new users. The guide below is also deprecated since the dev removed the old version from Docker. Check out the FileRun alternatives: Nextcloud, Pydio Cells, ownCloud and Seafile.

  • 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.

1 FileRun Synology NAS Set up

  • STEP 5

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

2 FileRun Synology NAS Set up

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

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

Check Enable HSTS

Destination:
Protocol: HTTP
Hostname: localhost
Port: 8430

3 FileRun Synology NAS Set up new

  • STEP 7

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 8

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 9

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 10

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 11

Now create three new folders inside the filerun folder that you have previously created at STEP 10. 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 12

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 13

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.9'
services:
  db:
    image: mariadb:11.3
    container_name: FileRun-DB
    restart: always
    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
    restart: always
    environment:
      FR_DB_HOST: db
      FR_DB_PORT: 3306
      FR_DB_NAME: filerun
      FR_DB_USER: filerun
      FR_DB_PASS: filerun
    depends_on:
      - db
    ports:
      - 8430:80
    volumes:
      - /volume1/docker/filerun/data:/var/www/html
      - /volume1/docker/filerun/files:/user-files

7-FileRun-Synology-NAS-Set-up-new-2025

  • STEP 14

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 new

  • STEP 15

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 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://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 18

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

11 FileRun Synology NAS Set up

  • STEP 19

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

12 FileRun Synology NAS Set up

  • STEP 20

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 21

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

14 FileRun Synology NAS Set up

  • STEP 22

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 23

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 24

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

17 FileRun Synology NAS Set up

  • STEP 25

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 the 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.
Note: Find out the Best NAS Models For Docker.
Note: Activate Gmail SMTP For Docker Containers.

This post was updated on Friday / February 23rd, 2024 at 3:36 PM