|
|
|
@ -36,8 +36,9 @@ do_install_detail() {
|
|
|
|
|
# Create Docker Compose file with custom variables
|
|
|
|
|
|
|
|
|
|
# Create Docker Compose file with custom variables
|
|
|
|
|
touch docker-compose.yml
|
|
|
|
|
cat > docker-compose.yml <<EOF
|
|
|
|
|
mkdir /opt/docker2/compose/megamedia
|
|
|
|
|
touch /opt/docker2/compose/megamedia/docker-compose.yml
|
|
|
|
|
cat > /opt/docker2/compose/megamedia/docker-compose.yml <<EOF
|
|
|
|
|
version: '3.8'
|
|
|
|
|
services:
|
|
|
|
|
jellyfin:
|
|
|
|
@ -47,7 +48,7 @@ services:
|
|
|
|
|
- PUID=1000
|
|
|
|
|
- PGID=1000
|
|
|
|
|
- TZ=Europe/London
|
|
|
|
|
- JELLYFIN_PublishedServerUrl=192.168.70.1
|
|
|
|
|
- JELLYFIN_PublishedServerUrl={$LAN_IP}
|
|
|
|
|
volumes:
|
|
|
|
|
- ./library:/config
|
|
|
|
|
- $config/jellyfin/tvshows:/data/tvshows
|
|
|
|
@ -154,7 +155,7 @@ services:
|
|
|
|
|
|
|
|
|
|
EOF
|
|
|
|
|
|
|
|
|
|
docker-compose up -d
|
|
|
|
|
docker-compose -f /opt/docker2/compose/megamedia/docker-compose.yml up -d
|
|
|
|
|
|
|
|
|
|
# Add a new list option to the "shortcutmenu" configuration file
|
|
|
|
|
uci add shortcutmenu lists
|
|
|
|
|