Skip to content
daemonlessPublic

About

Modern Music Server and Streamer compatible with Subsonic/Airsonic.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Navidrome

Build Status Last Commit OCI Pulls

Modern Music Server and Streamer compatible with Subsonic/Airsonic.

Port 4533
Registry ghcr.io/daemonless/navidrome
Source https://www.navidrome.org/
Website https://www.navidrome.org/

Version Tags

Tag Description Best For
latest / pkg Upstream Binary. Built from official release. Most users — recommended.
pkg-latest FreeBSD Latest. Rolling package updates. Staying current.

Prerequisites

Before deploying, ensure your host environment is ready. See the Quick Start Guide for host setup instructions.

Deployment

Podman Compose

services:
  navidrome:
    image: "ghcr.io/daemonless/navidrome:latest"
    container_name: navidrome
    environment:
      - PUID=1000  # User ID for the application process
      - PGID=1000  # Group ID for the application process
      - TZ=UTC  # Timezone for the container
      - ND_SCANNER_SCHEDULE="@every 1h"  # Schedule for automatic scans.
      - ND_LOGLEVEL=info  # Log level. Useful for troubleshooting.
    volumes:
      - "/containers/navidrome:/config"
      - "/path/to/music:/music"
    ports:
      - "4533:4533"
    # always (not unless-stopped) so FreeBSD's podman rc.d auto-starts it at boot
    restart: always

Save as compose.yaml, then run podman-compose up -d.

AppJail Director

.env:

# .env

DIRECTOR_PROJECT=navidrome
PUID=1000
PGID=1000
TZ=UTC
ND_SCANNER_SCHEDULE="@every 1h"
ND_LOGLEVEL=info

appjail-director.yml:

# appjail-director.yml

options:
  - virtualnet: ':<random> default'
  - nat:
services:
  navidrome:
    name: navidrome
    options:
      - container: 'args:--pull'
      - expose: '4533:4533 proto:tcp'
    oci:
      user: root
      environment:
        - PUID: !ENV '${PUID}'
        - PGID: !ENV '${PGID}'
        - TZ: !ENV '${TZ}'
        - ND_SCANNER_SCHEDULE: !ENV '${ND_SCANNER_SCHEDULE}'
        - ND_LOGLEVEL: !ENV '${ND_LOGLEVEL}'
    volumes:
      - navidrome: /config
      - music: /music
volumes:
  navidrome:
    device: '/containers/navidrome'
  music:
    device: 'music'

Makejail:

# Makejail

ARG tag=latest

OPTION container=boot
OPTION overwrite=force
OPTION from=ghcr.io/daemonless/navidrome:${tag}

Save the files above, then run appjail-director up.

Warning

Exposing ports in AppJail means that your service can be reached from remote hosts. If that is not your intention, do not expose the ports and communicate with the service using the jail's IPv4 address or hostname assigned by the virtual network.

To avoid exposing ports, just remove the expose option in your appjail-director.yml or from your command-line arguments.

Bastille

Warning

Bastille's OCI support is experimental. It requires buildah and shares the host network stack (inherit). Mount volumes with --volume HOST JAIL; without it, image-declared volumes are stored under ${bastille_volumesdir}/${jail}.

services:
  navidrome:
    name: navidrome
    image: "ghcr.io/daemonless/navidrome:latest"
    network:
      - mode: host
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=UTC
      - ND_SCANNER_SCHEDULE="@every 1h"
      - ND_LOGLEVEL=info
    volumes:
      - "/containers/navidrome:/config"
      - "/path/to/music:/music"

Save as bastille-compose.yml, then run bastille up. Open http://<server>:4533 from another machine (the server's own browser can't use a published port).

Parameters

Environment Variables

Variable Default Description
PUID 1000 User ID for the application process
PGID 1000 Group ID for the application process
TZ UTC Timezone for the container
ND_SCANNER_SCHEDULE "@every 1h" Schedule for automatic scans.
ND_LOGLEVEL info Log level. Useful for troubleshooting.

Volumes

Path Description
/config Configuration and data directory
/music Folder where your music library is stored

Ports

Port Protocol Description
4533 TCP Web UI

First run

If no configuration file exists when the container starts, it will generate an initial default config file at /config/config.toml.

Architectures: amd64, aarch64 User: bsd (UID/GID via PUID/PGID, defaults to 1000:1000) Base: FreeBSD 15


Need help? Join our Discord community.

About

Modern Music Server and Streamer compatible with Subsonic/Airsonic.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages