From 4324985f3f690d1390c19e26c30776e0d4cad0fc Mon Sep 17 00:00:00 2001 From: Stavros Date: Wed, 24 Apr 2024 12:36:58 +0300 Subject: [PATCH] Refactor/filebrowser (#3228) * refactor(filebrowser): do not run with puid and pgid 911 * chore: bump filebrowser version --- apps/filebrowser/config.json | 11 ++++++++--- apps/filebrowser/data/config/settings.json | 8 -------- apps/filebrowser/docker-compose.yml | 4 +++- 3 files changed, 11 insertions(+), 12 deletions(-) delete mode 100644 apps/filebrowser/data/config/settings.json diff --git a/apps/filebrowser/config.json b/apps/filebrowser/config.json index 7d02d5dd..48609bd6 100644 --- a/apps/filebrowser/config.json +++ b/apps/filebrowser/config.json @@ -5,14 +5,19 @@ "exposable": true, "port": 8096, "id": "filebrowser", - "tipi_version": 3, + "tipi_version": 4, "version": "s6", - "categories": ["utilities"], + "categories": [ + "utilities" + ], "description": "Reliable and Performant File Management Desktop Sync and File Sharing\n Default credentials: admin / admin", "short_desc": "Access your homeserver files from your browser", "author": "filebrowser.org", "website": "https://filebrowser.org/", "source": "https://github.com/filebrowser/filebrowser", "form_fields": [], - "supported_architectures": ["arm64", "amd64"] + "supported_architectures": [ + "arm64", + "amd64" + ] } diff --git a/apps/filebrowser/data/config/settings.json b/apps/filebrowser/data/config/settings.json deleted file mode 100644 index cf7fb4ee..00000000 --- a/apps/filebrowser/data/config/settings.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "port": 80, - "baseURL": "", - "address": "", - "log": "stdout", - "database": "/database/filebrowser.db", - "root": "/srv" -} diff --git a/apps/filebrowser/docker-compose.yml b/apps/filebrowser/docker-compose.yml index d3421d18..e098f506 100644 --- a/apps/filebrowser/docker-compose.yml +++ b/apps/filebrowser/docker-compose.yml @@ -10,7 +10,9 @@ services: - ${ROOT_FOLDER_HOST}/media:/srv/media - ${APP_DATA_DIR}/data/general:/srv/general - ${APP_DATA_DIR}/data/db:/database - - ${APP_DATA_DIR}/data/config:/config + environment: + - PUID=0 + - PGID=0 networks: - tipi_main_network labels: