Docker reference
For your first installation, use the installation guides.
Media folder mappings
Each media line maps an existing folder on your computer to a folder below /media in Norri. Keep the final :rw for read-write access. A source can be on another disk; mount NAS shares on the Docker host first. Docker Desktop must have permission to access the selected folders.
To add another source, duplicate a media line and give it an existing host path and a unique destination, such as /media/KidsMovies. You can add several libraries of the same type. Select these /media/... paths in the Norri setup wizard.
Short Docker volume syntax can create an empty host folder if the source does not exist. Check the source path if a library appears empty. On Linux, PUID and PGID must identify an account that can read and write the selected media and create files in its folders. Parent folders must also allow traversal. IDs 0 and 999 are not supported. Leave the Compose user setting unset.
Media write access
Scanning may create a small .norri-mounted marker. A writable bind permits changes to source files, so map only the media folders you intend Norri to access and keep backups.
Host permissions must allow the configured user and group to read files and create, replace, and remove files in the selected folders. A read-write container mapping cannot override a read-only host mount, NAS account, or filesystem ACL. Norri does not take ownership of your media for you.
NAS and container managers
In a Compose or Stack editor, choose the matching Docker Compose configuration, set your media folders, and deploy it. The generic Compose download uses software transcoding; the guide provides separate files with GPU access.
For a manager’s individual fields, use image registry.norri.tv/norri:latest, TCP port 11423:11423, the two writable data volumes, each separate read-write media folder, and the environment and startup settings in that file. Configure the GPU in your manager’s device settings.
Updates and backups
Read the server changelog before updating.
norri_postgres contains the database; norri_data contains application state. Keep both volumes and your Compose file or customized Docker run command. Media stays in its separate host mounts.
The latest tag follows the recommended public release: the public beta now, then stable releases when available. Running containers stay on their installed version until you update them. Numbered tags remain available if you want to pin a particular release.
Before updating, stop the container with docker stop norri and back up both named volumes as shown below. Keep a separate backup of your original media. The commands below use the default container name; substitute yours if you changed it.
Back up the volumes
These commands work on every Docker install, including Docker Desktop. They save both volumes as files in the current folder. Move those files somewhere safe, such as another drive.
docker stop norri
docker run --rm -v norri_postgres:/data -v "$PWD":/backup alpine tar czf /backup/norri_postgres.tar.gz -C /data .
docker run --rm -v norri_data:/data -v "$PWD":/backup alpine tar czf /backup/norri_data.tar.gz -C /data .
docker start norri
To restore, stop and remove the container, then remove both volumes and load the files back. This replaces everything in those volumes.
docker stop norri
docker rm norri
docker volume rm norri_postgres norri_data
docker run --rm -v norri_postgres:/data -v "$PWD":/backup alpine tar xzpf /backup/norri_postgres.tar.gz -C /data
docker run --rm -v norri_data:/data -v "$PWD":/backup alpine tar xzpf /backup/norri_data.tar.gz -C /data
Then start Norri with your saved Compose file or Docker run command, using the same version of Norri that made the backup.
Docker Compose
In the folder containing compose.yaml, run:
docker compose pull
docker compose up -d
Your saved folders, GPU settings, and data volumes are reused.
Docker run
Keep your saved, customized docker run command ready. If you did not save it, note your existing folder, GPU, and user-ID settings before removing the container, then prepare the matching Docker run example.
Pull the current image, then remove the stopped container:
docker pull --platform linux/amd64 registry.norri.tv/norri:latest
docker rm norri
Run your saved command again to create the replacement. Keep the same two named data volumes and media folders. Removing the container does not delete these volumes.
After updating
Check your libraries and playback. A rollback may require restoring the matching earlier data backup as well as selecting an earlier versioned image.
Caution
Keep your persistent data
Do not use docker compose down -v for an update or troubleshooting: it deletes the persistent volumes. Ordinary docker compose down preserves them.
Another installation on the same host
For another installation on the same host, change the top-level Compose name, container_name, the published port, and both explicit volume names. A new folder alone does not isolate the fixed names in this example.
Server address and custom ports
Norri uses TCP port 11423 for its browser interface, setup wizard, and API. There is no separate administration port.
To use host port 12080, change the port mapping to "12080:11423", run docker compose up -d, and open http://YOUR_SERVER_IP:12080. Keep the container port at 11423. In Settings → General → Network, set Host port to 12080 and choose Save host port.
The setting records the address used for device links; it does not change Docker’s mapping. Update bookmarks, client addresses, and reverse-proxy upstreams that use the old port. See Server Configuration and Remote Access.