From 7d302816cdb382160aabfe3b2296a1cf565b9bba Mon Sep 17 00:00:00 2001 From: Rohit Mulani <289630555+rohitmulani63-ops@users.noreply.github.com> Date: Mon, 22 Jun 2026 14:19:35 +0400 Subject: [PATCH] feat: add FileRun template --- blueprints/filerun/docker-compose.yml | 35 +++++++++++++++++++++++++++ blueprints/filerun/filerun.svg | 7 ++++++ blueprints/filerun/template.toml | 19 +++++++++++++++ meta.json | 17 +++++++++++++ 4 files changed, 78 insertions(+) create mode 100644 blueprints/filerun/docker-compose.yml create mode 100644 blueprints/filerun/filerun.svg create mode 100644 blueprints/filerun/template.toml diff --git a/blueprints/filerun/docker-compose.yml b/blueprints/filerun/docker-compose.yml new file mode 100644 index 00000000..0f1d3646 --- /dev/null +++ b/blueprints/filerun/docker-compose.yml @@ -0,0 +1,35 @@ +version: "3.8" + +services: + filerun: + image: filerun/filerun:latest + restart: unless-stopped + user: "1001:1001" + depends_on: + - db + environment: + FR_DB_HOST: db + FR_DB_PORT: 3306 + FR_DB_NAME: ${MYSQL_DATABASE} + FR_DB_USER: ${MYSQL_USER} + FR_DB_PASS: ${MYSQL_PASSWORD} + volumes: + - filerun-html:/var/www/html + - filerun-user-files:/user-files + + db: + image: mariadb:12.2 + restart: unless-stopped + environment: + MARIADB_ROOT_PASSWORD: ${MARIADB_ROOT_PASSWORD} + MYSQL_USER: ${MYSQL_USER} + MYSQL_PASSWORD: ${MYSQL_PASSWORD} + MYSQL_DATABASE: ${MYSQL_DATABASE} + MARIADB_AUTO_UPGRADE: "1" + volumes: + - filerun-db:/var/lib/mysql + +volumes: + filerun-html: + filerun-user-files: + filerun-db: diff --git a/blueprints/filerun/filerun.svg b/blueprints/filerun/filerun.svg new file mode 100644 index 00000000..7825769e --- /dev/null +++ b/blueprints/filerun/filerun.svg @@ -0,0 +1,7 @@ + + FileRun + + + + + diff --git a/blueprints/filerun/template.toml b/blueprints/filerun/template.toml new file mode 100644 index 00000000..6edf05ac --- /dev/null +++ b/blueprints/filerun/template.toml @@ -0,0 +1,19 @@ +[variables] +main_domain = "${domain}" +mysql_user = "filerun" +mysql_database = "filerun" +mysql_password = "${password:32}" +mariadb_root_password = "${password:32}" + +[config] +env = [ + "MYSQL_USER=${mysql_user}", + "MYSQL_DATABASE=${mysql_database}", + "MYSQL_PASSWORD=${mysql_password}", + "MARIADB_ROOT_PASSWORD=${mariadb_root_password}", +] + +[[config.domains]] +serviceName = "filerun" +port = 80 +host = "${main_domain}" diff --git a/meta.json b/meta.json index 8be7825d..7e519d05 100644 --- a/meta.json +++ b/meta.json @@ -2292,6 +2292,23 @@ "storage" ] }, + { + "id": "filerun", + "name": "FileRun", + "version": "latest", + "description": "FileRun is a self-hosted file manager and file sharing platform.", + "logo": "filerun.svg", + "links": { + "website": "https://filerun.com/", + "docs": "https://docs.filerun.com/docker", + "github": "https://github.com/filerun/docker" + }, + "tags": [ + "file-manager", + "file-sharing", + "storage" + ] + }, { "id": "filestash", "name": "Filestash",