refactor: removed root .env

This commit is contained in:
2026-01-22 16:51:59 +01:00
parent bc3adbc85d
commit ff9f1be595
6 changed files with 12 additions and 17 deletions

View File

@@ -1,3 +1,3 @@
HTTP_PORT="8080"
DATA_PATH="/path/to/your/data"
CONFIG_PATH="../../volumes/filebrowser"
FB_BASEURL="/"

View File

@@ -2,14 +2,12 @@ services:
filebrowser:
image: hurlenko/filebrowser
container_name: filebrowser
env_file:
- .env
user: "${PUID:-1000}:${PGID:-1000}"
user: "1000:1000"
ports:
- "${HTTP_PORT:-8080}:8080"
- "10943:8080"
volumes:
- "${DATA_PATH:?DATA_PATH not set}:/data"
- "${VOLUMES_DIR:?VOLUMES_DIR not set}/filebrowser:/config"
- "${DATA_PATH:?}:/data"
- "${CONFIG_PATH:?}:/config"
environment:
- FB_BASEURL: "${FB_BASEURL:-/}"
restart: unless-stopped