2024-08-13, 01:57 PM
Hi all,
I need some help with setting up a docker compose file for hosting jellyfin with the web client. I have already invested quite some time, searched the internet and the forum, but do not seem to find a solution.
The problem I am currently facing is that when I try to access my custom, local jellyfin endpoint on http://192.168.178.55:2008 where the web client is supposed to be, it is not available.
I followed the instruction from the official documentation to set up the web client: Web Client Configuration
The jellyfin server is up and running and idles, but I can not reach the web client interface on http://192.168.178.55:2008 instead I am redirected to the web folder that I specified in the docker compose file -> http://192.168.178.55:2008/web/
I also need to mention, the web folder is not empty. I copied the official jellyfin web client repository from jellyfin/jellyfin-web: Web Client for Jellyfin (github.com) in there.
My setup is the following:
Jellyfin-Version: 10.9.4
OS: Ubuntu Linux
Hosting: Docker (Compose)
This is the docker compose file that I have created and used:
I have also put the log in the appendix.
Thank you in advance for your help.
I need some help with setting up a docker compose file for hosting jellyfin with the web client. I have already invested quite some time, searched the internet and the forum, but do not seem to find a solution.
The problem I am currently facing is that when I try to access my custom, local jellyfin endpoint on http://192.168.178.55:2008 where the web client is supposed to be, it is not available.
I followed the instruction from the official documentation to set up the web client: Web Client Configuration
The jellyfin server is up and running and idles, but I can not reach the web client interface on http://192.168.178.55:2008 instead I am redirected to the web folder that I specified in the docker compose file -> http://192.168.178.55:2008/web/
I also need to mention, the web folder is not empty. I copied the official jellyfin web client repository from jellyfin/jellyfin-web: Web Client for Jellyfin (github.com) in there.
My setup is the following:
Jellyfin-Version: 10.9.4
OS: Ubuntu Linux
Hosting: Docker (Compose)
This is the docker compose file that I have created and used:
Code:
version: "3.8"
services:
jellyfin:
image: jellyfin/jellyfin:latest
container_name: jellyfin
restart: unless-stopped
security_opt:
- no-new-privileges:true
networks:
- traefik-proxy
ports:
- 2008:8096 # HTTP traffic
# - 8920:8920 # optional HTTPS traffic
- 7359:7359/udp # optional service auto-discovery
- 1900:1900/udp # optional service auto-discovery
environment:
TZ: Europe/Berlin
JELLYFIN_CONFIG_DIR: /config
JELLYFIN_CACHE_DIR: /cache
JELLYFIN_LOG_DIR: /log
JELLYFIN_WEB_DIR: /web
JELLYFIN_DATA_DIR: /data
JELLYFIN_HOSTWEBCLIENT: true
# JELLYFIN_PublishedServerUrl=192.168.0.5 # optional and not needed
user: 1000:1000 # user and group that owns the volumes
group_add:
- "993" # Change this to match your "render" host group id and remove this comment -> "getent group render | cut -d: -f3"
volumes:
- ./config:/config
- ./cache:/cache
- ./logs:/log
- ./web:/web
- /storage/jellyfin/data:/data
- /storage/jellyfin/tvshows:/tvshows
- /storage/jellyfin/movies:/movies
- /storage/jellyfin/music:/music
devices:
- /dev/dri/renderD128:/dev/dri/renderD128
labels:
# Watchtower
- "com.centurylinklabs.watchtower.enable=true"
# Traefik
networks:
traefik-proxy:
name: traefik-proxy
external: true
I have also put the log in the appendix.
Thank you in advance for your help.