Compose-Library/filebrowser-hurlenko.compose.yaml.txt
2025-01-25 18:01:48 +01:00

18 lines
No EOL
634 B
Text
Executable file

services:
filebrowser:
image: hurlenko/filebrowser
container_name: filebrowser-${RUN_USER}-${IP}-${PORT}-${INSTANCE}
user: "${RUN_USER}:${RUN_USER}" # Can be ROOT but not recommended
ports:
- ${IP}:${PORT}:8080 # Use 0.0.0.0 for IP if you are within a LAN
volumes:
- ${DATA_DIR}/data:/data:rw
- ${DATA_DIR}/config:/config:rw
- ${DATA_DIR}/style:/data/style:rw
# Add your data links below
# - SOURCE:DESTINATION:MODE[RO/RW]
############################################
environment:
- FB_BASEURL=${BASEURL} # Set it to "/" for sub-domain use
restart: always