From a8788447431aa70b5a653ec97af52dc8ae0b60fd Mon Sep 17 00:00:00 2001 From: "azykov@mail.ru" Date: Tue, 14 Apr 2026 23:34:23 +0300 Subject: [PATCH] filebrowser-quantum --- filebrowser-quantum/compose.yaml | 23 +++++++++++++++++++++++ filebrowser-quantum/config/config.yaml | 15 +++++++++++++++ 2 files changed, 38 insertions(+) create mode 100644 filebrowser-quantum/compose.yaml create mode 100644 filebrowser-quantum/config/config.yaml diff --git a/filebrowser-quantum/compose.yaml b/filebrowser-quantum/compose.yaml new file mode 100644 index 0000000..bbfa5cf --- /dev/null +++ b/filebrowser-quantum/compose.yaml @@ -0,0 +1,23 @@ +services: + filebrowser: + image: ghcr.io/gtsteffaniak/filebrowser + container_name: filebrowser-quantum + restart: always + ports: + - 58081:80 + user: root + healthcheck: + test: ["CMD", "curl", "-f", "http://localhost/health"] + interval: 30s + timeout: 3s + start_period: 10s + retries: 3 + volumes: + - /docker/data/filebrowser-quantum/files:/folder + - /docker/data/filebrowser-quantum/tmp:/home/filebrowser/data/tmp + - ./config/config.yaml:/home/filebrowser/data/config.yaml:ro + networks: + - caddy_default +networks: + caddy_default: + external: true diff --git a/filebrowser-quantum/config/config.yaml b/filebrowser-quantum/config/config.yaml new file mode 100644 index 0000000..7fe6075 --- /dev/null +++ b/filebrowser-quantum/config/config.yaml @@ -0,0 +1,15 @@ +server: + cacheDir: /home/filebrowser/data/tmp # using the data volume so it can persist across restarts + sources: + - path: /folder # Do not use a root "/" directory or include the "/var" folder + name: "My Files" + config: + defaultEnabled: true + createUserDir: true + defaultUserScope: "/" + useLogicalSize: true + - path: "/folder/shared" + name: "Shared Files" + config: + defaultEnabled: true + useLogicalSize: true \ No newline at end of file