Update 'root/usr/libexec/apps/filebrowser/filebrowser.sh'

main
ben 1 year ago
parent 55e6fc3dce
commit 8f4bad12ca

@ -33,17 +33,20 @@ do_install_detail() {
touch /opt/docker2/compose/filebrowser-app/docker-compose.yml
cat > /opt/docker2/compose/filebrowser-app/docker-compose.yml <<EOF
version: '3.7'
version: "3"
services:
filebrowser:
image: $IMAGE_NAME
restart: always
user: "${UID}:${GID}"
ports:
- ${LAN_IP}:$port:8080
labels:
plugsy.name: "Filebrowser"
plugsy.category: "Home"
plugsy.link: "http://${LAN_IP}:$port"
- $port:8080
volumes:
- $config:/data
- ./filebrowser:/config
environment:
- FB_BASEURL=${LAN_IP}
restart: always
EOF
docker-compose -f /opt/docker2/compose/filebrowser-app/docker-compose.yml up -d

Loading…
Cancel
Save