Web app
The web app runs nori in a browser, with the library, search, the queue, AutoMix, the equalizer, lyrics,
remote control and jams. Self-host it with the
Docker image ghcr.io/norifm/nori-web:latest (for linux/amd64 and linux/arm64).
The browser needs a secure context: serve the container over HTTPS behind your reverse proxy, or open it
on localhost. A page served over HTTPS cannot reach a server over plain HTTP.
Standalone web player
Section titled “Standalone web player”With no environment variables set, the container serves the web app on port 8080 and does not proxy any
server:
docker run -d --name nori-web -p 8080:8080 ghcr.io/norifm/nori-web:latestWhen you open it, nori asks for your server’s address, user name and password, or lets you pick a local music folder. The server must answer CORS preflights (Navidrome does).
Reverse proxy for Navidrome
Section titled “Reverse proxy for Navidrome”Set NORI_NAVIDROME_URL to your Navidrome server’s origin (for example http://navidrome:4533):
docker run -d --name nori-web -p 8080:8080 \ -e NORI_NAVIDROME_URL=http://navidrome:4533 \ ghcr.io/norifm/nori-web:latestIn this mode, the container proxies /rest/* and /nori/* to Navidrome. Because /rest/ping answers on
the same origin, the web app signs in to that server without asking for its address or needing CORS.
Android, the desktop app, the terminal app and the iPod app can also connect to this address. Navidrome’s
web panel and internal APIs stay unreachable.
Full Navidrome drop-in
Section titled “Full Navidrome drop-in”To put nori in front of Navidrome while keeping Navidrome’s own panel and share links reachable, set
NORI_NAVIDROME_PROXY_ALL=true along with NORI_NAVIDROME_URL:
services: navidrome: image: deluan/navidrome:latest restart: unless-stopped volumes: - ./data:/data - /path/to/music:/music:ro
nori-web: image: ghcr.io/norifm/nori-web:latest restart: unless-stopped ports: - "8080:8080" environment: NORI_NAVIDROME_URL: http://navidrome:4533 NORI_NAVIDROME_PROXY_ALL: "true" depends_on: - navidromeKeep Navidrome’s ND_BASEURL unset (its default). In this mode:
/serves nori./naviopens Navidrome’s web panel (redirects to/app/)./app/*,/auth/*,/api/*,/share/*and/pingproxy to Navidrome, in addition to/rest/*and/nori/*./metricsis never proxied.- nori shows a server button in the top bar (and in the page header on phones). Clicking it opens Navidrome in a new tab so music keeps playing, landing on the album, artist, playlist or library view you are looking at.
Automatic sign-in
Section titled “Automatic sign-in”For a private single-user setup, you can skip the sign-in screen on a browser’s first visit by supplying credentials in environment variables:
environment: NORI_NAVIDROME_URL: http://navidrome:4533 NORI_NAVIDROME_PROXY_ALL: "true" NORI_DANGEROUS_AUTO_LOGIN: "true" NORI_DANGEROUS_USER: your-username NORI_DANGEROUS_PASSWORD: your-passwordThe container serves /nori-config.json with Cache-Control: no-store and logs a startup warning without
printing the password. If you sign out manually in Settings, automatic sign-in pauses so you can switch
accounts.
Environment variables
Section titled “Environment variables”| Variable | Default | Requires | Effect |
|---|---|---|---|
PORT | 8080 | — | HTTP port inside the container (1 to 65535) |
NORI_NAVIDROME_URL | unset | — | Navidrome origin (http:// or https://, no path) for /rest/* and /nori/* |
NORI_NAVIDROME_PROXY_ALL | false | NORI_NAVIDROME_URL | Proxies Navidrome’s panel and APIs, redirects /navi to /app/, and shows the Navidrome button in nori |
NORI_DANGEROUS_AUTO_LOGIN | false | User, password, server | Signs new browsers in automatically on first visit |
NORI_DANGEROUS_USER | unset | NORI_DANGEROUS_AUTO_LOGIN=true | Account name for automatic sign-in |
NORI_DANGEROUS_PASSWORD | unset | NORI_DANGEROUS_AUTO_LOGIN=true | Password for automatic sign-in |
NORI_DANGEROUS_SERVER_URL | unset | NORI_DANGEROUS_AUTO_LOGIN=true | Server origin for automatic sign-in when NORI_NAVIDROME_URL is unset |
The container exits on startup if an environment variable is invalid or missing a required companion.
Container hardening
Section titled “Container hardening”The image runs Caddy as non-root user 1000:1000 with its admin API disabled. It serves precompressed
Brotli and gzip files and exposes a health check at /healthz. It also works with a read-only root
filesystem and a small /tmp tmpfs:
docker run -d --name nori-web -p 8080:8080 \ --read-only --tmpfs /tmp:rw,noexec,nosuid,size=16m \ ghcr.io/norifm/nori-web:latestWhat differs from Android
Section titled “What differs from Android”- There are no offline music downloads or stream cache. The service worker keeps the app itself, not audio files.
- One browser tab holds the database at a time. Opening nori in a second tab offers a Use here button to move the session over.
- Local music folders need browser folder access and ask for permission again on a new visit.
- Signing in to a server asks only for the address, a user name and a password.
- Plugins that need native networking or Bluetooth cannot run in a browser.