filebrowser

This commit is contained in:
Dziad Borowy 2023-01-18 14:55:42 +00:00
parent ffb19744a2
commit 6d7503d55d
3 changed files with 63 additions and 0 deletions

View File

@ -94,6 +94,7 @@ The aims is to provide a ready-to-run recipes that you can just copy, paste and
# Cloud & File Sharing
- [Filebrowser](apps/cloud/filebrowser.md)
- [FileRun](apps/cloud/filerun.md)
- [NextCloud](apps/cloud/nextcloud.md)
- [oasis](apps/cloud/oasis.md)

62
apps/cloud/filebrowser.md Normal file
View File

@ -0,0 +1,62 @@
# Filebrowser
- nice dark theme
- it was difficult to setup (docs are not clear for a typical docker-compose setup)
<br>
- [Homepage/Docs](https://filebrowser.org)
- [Github repo](https://github.com/filebrowser/filebrowser)
![Screenshot](filebrowser.png)
## Prerequisites
There are 2 files required (which are expected, but not created automatically). We need to create them first:
```sh
touch filebrowser.json
touch filebrowser.db
```
The db file can remain empty (will be used by the app), the config - we need to update with some defaults:
## filebrowser.json
```json
{
"port": 80,
"baseURL": "/",
"address": "0.0.0.0",
"log": "stdout",
"database": "/filebrowser.db",
"root": "/srv"
}
```
## docker-compose.yml
```yaml
---
services:
filebrowser:
image: filebrowser/filebrowser
container_name: filebrowser
restart: unless-stopped
user: "1000:1000"
environment:
- TZ=Europe/Dublin
ports:
- "3000:80"
volumes:
- ./filebrowser.db:/filebrowser.db
- ./filebrowser.json:/.filebrowser.json
- ./files/:/srv/
```
App should now be available at: `<server IP>:3000`
Login using:
- u: admin
- p: admin

BIN
apps/cloud/filebrowser.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 163 KiB