version: '3.5' networks: frontend: # add this if the network is already existing! external: true services: jellyfin: image: jellyfin/jellyfin container_name: jellyfin-official networks: - frontend volumes: - /server_data/jellyfin/config_official:/config - /server_data/jellyfin/cache_official:/cache - /hdd/media:/media ports: - "1900:1900/udp" - "7359:7359/udp" - "8096:8096/tcp" - "8920:8920/tcp" restart: 'unless-stopped' # Optional - alternative address used for autodiscovery environment: - JELLYFIN_PublishedServerUrl=stream.nauen-it.de