services: jellyfin: image: ${JELLYFIN_IMAGE:-jellyfin/jellyfin:latest} restart: ${JELLYFIN_RESTART:-unless-stopped} volumes: - ${VOL_PATH:-/data}/jellyfin/cache:/cache - ${VOL_PATH:-/data}/jellyfin/config:/config - ${JELLYFIN_MEDIA:-/data}/media:/media environment: - JELLYFIN_PublishedServerUrl=${JELLYFIN_URL:-http://localhost:8096} ports: - "${JELLYFIN_PORT:-8096}:8096" networks: - proxy networks: proxy: external: true