version: "3.5" services: jellyfin: image: jellyfin/jellyfin container_name: jellyfin user: 1000:100 network_mode: "host" volumes: - ./config:/config - ./cache:/cache - /srv/dev-disk-by-uuid-45e2e732-9e00-4a82-a7cc-9c743e033671/datastore/music:/music - /srv/dev-disk-by-uuid-45e2e732-9e00-4a82-a7cc-9c743e033671/datastore/PicasaStarter/pictures/Pictures:/photos restart: "unless-stopped" # Optional - alternative address used for autodiscovery #environment: # - JELLYFIN_PublishedServerUrl=http://example.com