LibrePortal/containers/navidrome/navidrome.config
librelad 9f6ebfa37a feat(containers): add Navidrome music streaming server
New self-hosted app following the standard container layout (config +
docker-compose template + icon), modelled on the Jellyfin media app:

- navidrome.config — media-category metadata, single webui port (random:4533),
  served on the `music` subdomain via Traefik.
- docker-compose.yml — deluan/navidrome:latest with a ./data volume (DB/config/
  cache) and a read-only ./music library mount; declares its SQLite DB
  (libreportal.backup.db) + data dir for live, zero-downtime backups; gluetun
  markers included so it can optionally be VPN-routed.
- navidrome.svg — brand-blue equalizer icon.

Auto-discovered by the container scan / apps.json generator, so it appears in
the App Center as an installable Media app. Like Jellyfin, the first admin
account is created in Navidrome's own web UI on first run, so no auth tools are
needed.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Signed-off-by: librelad <librelad@digitalangels.vip>
2026-07-06 19:38:02 +01:00

62 lines
3.2 KiB
Plaintext

#
# =============================================================================
# GENERAL CONFIGURATION
# =============================================================================
# APP_NAME = name of application for use in scripts
# COMPOSE_FILE = default for no app_name in docker-compose file name, app if there is
# BACKUP = if true, include this application in backup operations
# HEALTHCHECK = if true, default docker health checks for that container will be enabled
# AUTHELIA = if true, use Authelia authentication, if false turned off.
# HEADSCALE = options : false, local, remote (see general config). e.g false or local,remote
#
CFG_NAVIDROME_APP_NAME=navidrome
CFG_NAVIDROME_BACKUP=true
CFG_NAVIDROME_BACKUP_STRATEGY=auto
CFG_NAVIDROME_COMPOSE_FILE=default
CFG_NAVIDROME_HEALTHCHECK=true
CFG_NAVIDROME_AUTHELIA=false
CFG_NAVIDROME_HEADSCALE=false
#
# =============================================================================
# METADATA
# =============================================================================
# CATEGORY = application category for grouping
# TITLE = display name for the application
# DESCRIPTION = short description of the application
# LONG_DESCRIPTION = detailed description of the application
# URL = source repository or documentation URL
# ACTIONS = available actions for this application
#
CFG_NAVIDROME_CATEGORY="media"
CFG_NAVIDROME_TITLE="Navidrome"
CFG_NAVIDROME_DESCRIPTION="Music Server"
CFG_NAVIDROME_LONG_DESCRIPTION="Navidrome is a self-hosted, open-source music streaming server with a Subsonic-compatible API — stream your personal music collection to any device from a fast, modern web player."
CFG_NAVIDROME_URL="https://github.com/navidrome/navidrome"
CFG_NAVIDROME_ACTIONS="configure|install|restart|shutdown|uninstall"
#
# =============================================================================
# NETWORK CONFIGURATION
# =============================================================================
# DOMAIN = number of domain from the general config, useful when using multiple domains
# WHITELIST = if true only allow whitelisted ips (see general config), if false allow all
#
CFG_NAVIDROME_DOMAIN=1
CFG_NAVIDROME_WHITELIST=false
CFG_NAVIDROME_NETWORK=default
#
# =============================================================================
# PORT CONFIGURATION
# =============================================================================
# PORT_ = port configuration: app|name|external:internal|access|protocol|login|traefik|webui|description|paths|subdomain
# - app: application name
# - name: service identifier (webui, dns, ssh, etc.)
# - external:internal: port mapping (external can be 'random' for auto-allocation)
# - access: 'public' (internet accessible), 'private' (local network only), 'disabled' (not running)
# - protocol: 'tcp' or 'udp'
# - login: if true, this port requires basic-auth via Traefik (only meaningful when traefik=true)
# - traefik: if true, Traefik handles this port (reverse proxy)
# - webui: if true, this port serves the main web interface
# - description: human-readable description of the service
#
CFG_NAVIDROME_PORT_1="navidrome-service|webui|random:4533|public|tcp|false|true|true|Music Server||music"