fix(filebrowser): define port based on env

This commit is contained in:
2026-01-22 20:44:17 +01:00
parent 3c1526c861
commit 4eaf5d16f3
2 changed files with 2 additions and 1 deletions

View File

@@ -1,3 +1,4 @@
PORT="10943"
DATA_PATH="/path/to/your/data" DATA_PATH="/path/to/your/data"
CONFIG_PATH="../../volumes/filebrowser" CONFIG_PATH="../../volumes/filebrowser"
FB_BASEURL="/" FB_BASEURL="/"

View File

@@ -4,7 +4,7 @@ services:
container_name: filebrowser container_name: filebrowser
user: "1000:1000" user: "1000:1000"
ports: ports:
- "10943:8080" - "${PORT:-10943}:8080"
volumes: volumes:
- "${DATA_PATH:?}:/data" - "${DATA_PATH:?}:/data"
- "${CONFIG_PATH:?}:/config" - "${CONFIG_PATH:?}:/config"