This is my docker-compose file if you need this information:

version: '2.27.1'
services:
  jellyfin:
    image: jellyfin/jellyfin:latest
    container_name: jellyfin
    user: 1000:1000
    network_mode: 'bridge'
    volumes:
      - /home/username/jellyfin/cache/:/cache
      - /home/username/jellyfin/config/:/config
      - /home/username/jellyfin/media/:/media:ro
    restart: 'unless-stopped'

I’m running it using docker-compse up -d