Replies: 1 comment
|
Hi! Sorry for the late answer. You figured out why it wasn't working? I see some small issues with your compose file, I'll write them here in case stills useful :)
volumes:
- ./data/database.db:/Nvme/Dockers/Filebrowser/data # Also, you're mounting the database into `data`, I'll explain below.
So, in summary, you compose file should look like this: services:
filebrowser:
image: gtstef/filebrowser:stable
environment:
FILEBROWSER_CONFIG: "data/config.yaml"
FILEBROWSER_DATABASE: "data/database.db"
volumes:
- /Raid5/Userdata1:/srv/Raid5/Userdata1
- /Raid5/Userserdata2:/srv/Raid5/Userdata2
- ./data:/home/filebrowser/data # Just a single mount, the config file, database, and cache folder, all will be inside that folder, make sure those two files exist in the host inside the data folder.
ports:
- '8095:80'
restart: unless-stoppedNow you'll only need the
server:
cacheDir: /home/filebrowser/data/tmp # Inside the data folder too
sources:
- path: "/srv/Raid5/Userdata1" # Path inside docker
name: "Source01" # Modify the name
config:
defaultEnabled: true
- path: "/srv/Raid5/Userdata2"
name: "Source02"
config:
defaultEnabled: trueAlso see this, I hope it was of help! |
Uh oh!
There was an error while loading. Please reload this page.
Hello, since the plugin for Openmediavault 8.x is having problems and does not work, I have deployed a docker compose. Docker works correctly for me (it shows me the user folders I want), the only small problem is that the configuration is not saved. I suppose it was because when restarting docker, since the storage is not persistent, it is not saved. I'm trying but I can't find the key. My docker compose is:
I have the user data on a 3-disk raid 5 with ('Raid5') of type 'multiple devices'. The dockers I have deployed on an Nvme disk that I see as a link ('/Nvme). I run my Docker with specific users (no t root).I have tried several route changes and I cannot save the configuration.
Best regareds
PS. I'm starting out in Linux to leave Windows and I still don't have a good level of Linux.

All reactions