2024-07-23, 08:13 PM
I have read numerous forums and articles trying to get this to work and have not suceeded. Like many, I can connect to the WebUI on the host machine with localhost and the IP 192.168.31.xxx. Any assistance is appreciated.
Docker compose YAML
Host OS: Arch
Subnet: 192.168.30.0/23
Server IP: 192.168.31.xxx
Jellyfin install method: Docker with compose stack
Devices tried to connect to server: Firestick, Laptop running Mint, and iOS device with latest version
App used: Official Jellyfin Mobile, AndroidTV Jellyfin app
Things tried:
- host and bridge mode in docker compose
- numerous restarts
- open ports in host firewall
- multiple network settings in Jellyfin
Docker compose YAML
Code:
networks:
mediastack:
name: mediastack
driver: bridge
ipam:
driver: default
config:
- subnet: ${DOCKER_SUBNET:?err}
gateway: ${DOCKER_GATEWAY:?err}
# jellyfin:
# external: true
# driver: bridge
# ipam:
# driver: default
services:
gluetun:
image: qmcgaw/gluetun
container_name: gluetun
restart: always
cap_add:
- NET_ADMIN
devices:
- /dev/net/tun:/dev/net/tun
ports:
- 8888:8888/tcp # HTTP proxy
- 8388:8388/tcp # Shadowsocks
- 8388:8388/udp # Shadowsocks
- 8080:8080/tcp # gluetun
- "${WEBUI_PORT_QBITTORRENT:?err}:${WEBUI_PORT_QBITTORRENT:?err}" # WebUI Portal: qBittorrent
volumes:
- ${APPDATA:?err}/gluetun:/config
environment:
- PUID=${PUID:?err}
- PGID=${PGID:?err}
- TZ=${TIMEZONE:?err}
- VPN_TYPE=${VPN_TYPE:?err}
- VPN_SERVICE_PROVIDER=${VPN_SERVICE_PROVIDER:?err}
- OPENVPN_USER=${VPN_USERNAME:?err}
- OPENVPN_PASSWORD=${VPN_PASSWORD:?err}
- VPN_PORT_FORWARDING_USERNAME=${VPN_USERNAME:?err}
- VPN_PORT_FORWARDING_PASSWORD=${VPN_PASSWORD:?err}
- VPN_PORT_FORWARDING=on
- SERVER_COUNTRIES=${SERVER_COUNTRIES}
#- SERVER_REGIONS=$(SERVER_REGIONS)
#- SERVER_CITIES=$(SERVER_CITIES)
#- SERVER_HOSTNAMES=$(SERVER_HOSTNAMES)
- OPENVPN_CIPHERS=AES-256-GCM
networks:
- mediastack
jellyfin:
image: lscr.io/linuxserver/jellyfin:latest
container_name: jellyfin
network_mode: "host"
restart: unless-stopped
# Add Configurations for GPU Hardware Rendering Here:
devices:
- /dev/dri/renderD128:/dev/dri/renderD128
- /dev/dri/card1:/dev/dri/card1
volumes:
- ${APPDATA:?err}/jellyfin:/config
- ${MEDIADATA:?err}/:/data/media/
ports:
- 8096:8096
- 7359:7359/udp # Enable for DLNA - Only works on HOST Network Mode
- 1900:1900/udp # Enable for DLNA - Only works on HOST Network Mode
environment:
- PUID=${PUID:?err}
- PGID=${PGID:?err}
- UMASK=${UMASK:?err}
- TZ=${TIMEZONE:?err}
- JELLYFIN_PublishedServerUrl=${LOCAL_DOCKER_IP:?err} # Enable for DLNA - Only works on HOST Network Mode
# networks:
# - jellyfin
Host OS: Arch
Subnet: 192.168.30.0/23
Server IP: 192.168.31.xxx
Jellyfin install method: Docker with compose stack
Devices tried to connect to server: Firestick, Laptop running Mint, and iOS device with latest version
App used: Official Jellyfin Mobile, AndroidTV Jellyfin app
Things tried:
- host and bridge mode in docker compose
- numerous restarts
- open ports in host firewall
- multiple network settings in Jellyfin