Add JELLYFIN_PublishedServerUrl in an attempt to fix Jellyfin failing to resolve in client browsers

This commit is contained in:
2026-03-30 21:57:41 -04:00
parent 9abd0aa20e
commit 315c4cd61e

View File

@@ -5,7 +5,7 @@ services:
network_mode: 'host'
volumes:
- /etc/jellyfin:/config
- /etc/jellyfin/config/web-config.json:/jellyfin/jellyfin-web/config.json
# - /etc/jellyfin/web-config.json:/jellyfin/jellyfin-web/config.json
- /var/lib/jellyfin/cache:/cache
- /mnt/cygnus:/cygnus:ro
- type: bind
@@ -14,9 +14,9 @@ services:
read_only: true
restart: 'unless-stopped'
# Optional - alternative address used for autodiscovery
# environment:
# - JELLYFIN_PublishedServerUrl=http://example.com
environment:
- JELLYFIN_PublishedServerUrl=http://127.0.0.1:8096
# Optional - may be necessary for docker healthcheck to pass if running in host network mode
# extra_hosts:
# - 'host.docker.internal:host-gateway'