Added Filebrowser

This commit is contained in:
sudo-kraken 2024-12-04 15:46:39 +00:00
parent f96df3645f
commit da9ef90ee5
2 changed files with 29 additions and 0 deletions

View file

@ -0,0 +1,25 @@
[Unit]
Description=Filebrowser Quadlet
[Service]
Restart=always
TimeoutStartSec=900
[Install]
WantedBy=default.target
[Container]
Image=docker.io/filebrowser/filebrowser:latest
ContainerName=filebrowser
HostName=filebrowser
# You will have to manually create the config and db file on first run as it mounts files not dirs
Volume=/path/to/what/you/want/to/share:/srv:z
Volume=%h/.local/share/containers/storage/volumes/filebrowser-db/_data/database.db:/database.db:Z
Volume=%h/.local/share/containers/storage/volumes/filebrowser-config/_data/.filebrowser.json:/.filebrowser.json:Z
Volume=filebrowser-branding:/branding
PublishPort=8008:8008
Environment=PUID=1000
Environment=PGID=1000

View file

@ -0,0 +1,4 @@
[Volume]
VolumeName=filebrowser-db
VolumeName=filebrowser-config
VolumeName=filebrowser-branding