Last active
August 19, 2024 01:12
-
-
Save EliasMasche/a401394c3fa0a899523bed0e625b93c1 to your computer and use it in GitHub Desktop.
Docker compose for filebrowser
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: "3.8" | |
services: | |
filebrowser: | |
image: filebrowser/filebrowser:latest | |
volumes: | |
- /home:/srv | |
- /home/yourUser/filebrowser/filebrowser.db:/database/filebrowser.db | |
- /home/yourUser/filebrowser/settings.json:/config/settings.json | |
environment: | |
- PUID=$(id -u) | |
- PGID=$(id -g) | |
ports: | |
- 8095:80 #Change the port if needed | |
networks: | |
- dockge_default | |
networks: | |
dockge_default: | |
external: true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"port": 80, | |
"baseURL": "", | |
"address": "", | |
"log": "stdout", | |
"database": "/database/filebrowser.db", | |
"root": "/srv" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Documentation: https://filebrowser.org/installation
Volumes must exist already in your file system, you can use different paths/folders, and check for permission to avoid
PERMISSION_DENIED
errorsSettings.json must be the same volumes (db/root) <-> (database/root)