Initial Navidrome deployment configuration

This commit is contained in:
2026-01-26 20:54:45 -05:00
commit 305f92cff1
4 changed files with 60 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
.env

12
LICENSE Normal file
View File

@@ -0,0 +1,12 @@
Copyright (C) 2026 by Kris Lamoureux <kris@lamoureux.io>
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

28
README.md Normal file
View File

@@ -0,0 +1,28 @@
# Navidrome Deployment Repository
This repository contains configuration for deploying a Navidrome container.
Navidrome is a self-hosted music streaming server.
## Container Configuration
- `IMAGE`: Specifies the OCI image for Navidrome (default:
`docker.io/deluan/navidrome`).
- `VERSION`: **Required.** Specifies the tag of the Docker image.
- `NAME`: Sets the name of the Docker container (default: `navidrome`).
## Service Configuration
- `BASEURL`: **Required.** Base URL where Navidrome is served
- `ENDPOINT`: Host bind address/port mapping for the container (default:
`127.0.0.1:4533`).
- `PORT`: Container listen port (default: `4533`).
- `LOGLEVEL`: Logging verbosity (default: `info`).
- `LASTFM_ENABLED`: Toggle Last.fm integration (default: `true`)
- `LASTFM_APIKEY`: **Required.** Last.fm API key
- `LASTFM_SECRET`: **Required.** Last.fm API secret
- `MUSIC`: **Required.** Path to your music library, mounted read-only
## License
This project is released under the **0BSD** license, which allows for
unrestricted use, modification, and distribution.

19
docker-compose.yml Normal file
View File

@@ -0,0 +1,19 @@
volumes:
data:
services:
navidrome:
image: ${IMAGE:-docker.io/deluan/navidrome}:${VERSION:?}
container_name: ${NAME:-navidrome}
ports:
- ${ENDPOINT:-127.0.0.1:4533}:${PORT:-4533}
environment:
ND_PORT: ${PORT:-4533}
ND_LOGLEVEL: ${LOGLEVEL:-info}
ND_BASEURL: ${BASEURL:?}
ND_LASTFM_ENABLED: ${LASTFM_ENABLED:-true}
ND_LASTFM_APIKEY: ${LASTFM_APIKEY:?}
ND_LASTFM_SECRET: ${LASTFM_SECRET:?}
volumes:
- data:/data
- ${MUSIC:?}:/music:ro,Z