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 touch /opt/docker2/compose/filebrowser-app/docker-compose.yml
cat > /opt/docker2/compose/filebrowser-app/docker-compose.yml <<EOF cat > /opt/docker2/compose/filebrowser-app/docker-compose.yml <<EOF
version: '3.7' version: "3"
services: services:
filebrowser: filebrowser:
image: $IMAGE_NAME image: $IMAGE_NAME
restart: always user: "${UID}:${GID}"
ports: ports:
- ${LAN_IP}:$port:8080 - $port:8080
labels: volumes:
plugsy.name: "Filebrowser" - $config:/data
plugsy.category: "Home" - ./filebrowser:/config
plugsy.link: "http://${LAN_IP}:$port" environment:
- FB_BASEURL=${LAN_IP}
restart: always
EOF EOF
docker-compose -f /opt/docker2/compose/filebrowser-app/docker-compose.yml up -d docker-compose -f /opt/docker2/compose/filebrowser-app/docker-compose.yml up -d

Loading…
Cancel
Save