This guide assumes you have Docker and docker-compose installed on a server such as a Raspberry Pi 3+.

Create a text file named docker-compose.yml and paste the following inside:

version: '2'

services:
  db:
    image: tobi312/rpi-mariadb
    environment:
      MYSQL_ROOT_PASSWORD: your_mysql_root_password
      MYSQL_USER: your_mysql_username
      MYSQL_PASSWORD: your_mysql_password
      MYSQL_DATABASE: your_mysql_database
      PUID: 1000
      PGID: 1000
      TZ: Europe/London
    volumes:
      - /filerun/db:/var/lib/mysql

  web:
    image: filerun/filerun:arm32v7
    environment:
      FR_DB_HOST: db
      FR_DB_PORT: 3306
      FR_DB_NAME: your_mysql_database
      FR_DB_USER: your_mysql_username
      FR_DB_PASS: your_mysql_password
      APACHE_RUN_USER: pi
      APACHE_RUN_USER_ID: 1000
      APACHE_RUN_GROUP: pi
      APACHE_RUN_GROUP_ID: 1000
    depends_on:
      - db
    links:
      - db:db
    ports:
      - "80:80"
    volumes:
      - /filerun/html:/var/www/html
      - /filerun/user-files:/user-files

Please note the above volumes configuration. There are two folders you need to configure. One for the FileRun application files. It can be located in any empty folder and must have the mount path set to /var/www/html and one for the FileRun user files, with the mount path set to /user-files.

And start FileRun up using the following command:

docker-compose up -d

FileRun should be now up and running and you can access it with your browser.