filebrowser-quantum

This commit is contained in:
azykov@mail.ru 2026-04-14 23:34:23 +03:00
parent c09b83b649
commit a878844743
2 changed files with 38 additions and 0 deletions

View File

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

View File

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