Sign inSign up

xuqi/filebrowser

By xuqi

Updated over 8 years ago

Image
0

877

xuqi/filebrowser repository overview

https://filebrowser.github.io/installation/#docker

Docker

File Browser is also available on Docker through Docker Hub. To install it, run:

docker pull hacdias/filebrowser The paths you need to bind to do your own configuration are:

Config: /etc/config.json Database: /etc/database.db Base scope: /srv By default, the image uses the configuration file (which is also our recommendation). The defaults are:

{ "port": 80, "address": "", "database": "/etc/database.db", "scope": "/srv", "allowCommands": true, "allowEdit": true, "allowNew": true, "commands": [] } Using the configuration file:

docker run
-v /path/to/sites/root:/srv
-v /path/to/config.json:/config.json
-v /path/to/database.db:/database.db
-p 80:80
hacdias/filebrowser Using command line arguments:

docker run
-v /path/to/sites/root:/srv
-v /path/to/database.db:/database.db
-p 80:80
hacdias/filebrowser --port 80 --database /database.db --scope /srv --other-flag other-value

Tag summary

Content type

Image

Digest

Size

6.9 MB

Last updated

over 8 years ago

docker pull xuqi/filebrowser