filebrowser-quantum
This commit is contained in:
parent
c09b83b649
commit
a878844743
|
|
@ -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
|
||||
|
|
@ -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
|
||||
Loading…
Reference in New Issue