feat: add FileRun template

This commit is contained in:
Rohit Mulani
2026-06-22 14:19:35 +04:00
parent 1cde3fac82
commit 7d302816cd
4 changed files with 78 additions and 0 deletions

View File

@@ -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:

View File

@@ -0,0 +1,7 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" role="img" aria-labelledby="title">
<title>FileRun</title>
<rect width="256" height="256" rx="56" fill="#2563eb"/>
<path fill="#ffffff" d="M62 76c0-11 9-20 20-20h50c6 0 12 3 16 7l32 32c4 4 6 9 6 15v70c0 11-9 20-20 20H82c-11 0-20-9-20-20V76Z" opacity=".95"/>
<path fill="#bfdbfe" d="M132 58v42c0 7 5 12 12 12h40l-52-54Z"/>
<path fill="#2563eb" d="M91 143h74v14H91v-14Zm0 28h56v14H91v-14Zm0-56h40v14H91v-14Z"/>
</svg>

View File

@@ -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}"

View File

@@ -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",