Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ ARG BASE_VERSION=15
FROM ghcr.io/daemonless/base:${BASE_VERSION}

ARG FREEBSD_ARCH=amd64
ARG PACKAGES="navidrome ffmpeg-nox11"
ARG PKG_NAME="navidrome"
ARG PACKAGES="${PKG_NAME} ffmpeg-nox11"
ARG APP_VERSION="latest"

LABEL org.opencontainers.image.title="Navidrome" \
Expand All @@ -21,6 +22,7 @@ LABEL org.opencontainers.image.title="Navidrome" \
io.daemonless.category="Media Servers" \
io.daemonless.port="4533" \
io.daemonless.arch="${FREEBSD_ARCH}" \
io.daemonless.pkg-name="${PKG_NAME}" \
io.daemonless.packages="${PACKAGES}"


Expand All @@ -32,7 +34,7 @@ RUN pkg update && \

# Download and install navidrome
RUN mkdir -p /app && \
NAVIDROME_VERSION=$(pkg query -e %n=navidrome %v) && \
NAVIDROME_VERSION=$(pkg query -e %n=${PKG_NAME} %v) && \
echo "${NAVIDROME_VERSION}" > /app/version

# Copy root filesystem
Expand All @@ -45,4 +47,4 @@ RUN chmod +x /etc/services.d/navidrome/run /healthz
EXPOSE 4533

# Volumes
VOLUME /config
VOLUME /config
7 changes: 5 additions & 2 deletions Containerfile.j2
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ ARG BASE_VERSION=15
FROM ghcr.io/daemonless/base:${BASE_VERSION}

ARG FREEBSD_ARCH=amd64
ARG PACKAGES="navidrome ffmpeg-nox11"
ARG PKG_NAME="navidrome"
ARG PACKAGES="${PKG_NAME} ffmpeg-nox11"
ARG APP_VERSION="latest"

LABEL org.opencontainers.image.title="Navidrome" \
Expand All @@ -15,6 +16,7 @@ LABEL org.opencontainers.image.title="Navidrome" \
io.daemonless.category="Media Servers" \
io.daemonless.port="4533" \
io.daemonless.arch="${FREEBSD_ARCH}" \
io.daemonless.pkg-name="${PKG_NAME}" \
io.daemonless.packages="${PACKAGES}"


Expand All @@ -25,7 +27,8 @@ RUN pkg update && \
rm -rf /var/cache/pkg/* /var/db/pkg/repos/*

# Download and install navidrome
RUN NAVIDROME_VERSION=$(pkg query -e %n=navidrome %v) && \
RUN mkdir -p /app && \
NAVIDROME_VERSION=$(pkg query -e %n=${PKG_NAME} %v) && \
echo "${NAVIDROME_VERSION}" > /app/version

# Copy root filesystem
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,11 @@ Modern Music Server and Streamer compatible with Subsonic/Airsonic.
| **Website** | [https://www.navidrome.org/](https://www.navidrome.org/) |

## Version Tags

| Tag | Description | Best For |
| :--- | :--- | :--- |
| `latest` | **Upstream Binary**. Built from official release. | Most users. Matches Linux Docker behavior. |

## Prerequisites

Before deploying, ensure your host environment is ready. See the [Quick Start Guide](https://daemonless.io/guides/quick-start) for host setup instructions.

## Deployment
Expand All @@ -51,7 +49,6 @@ services:
```

### AppJail Director

**.env**:

```
Expand Down Expand Up @@ -100,7 +97,7 @@ volumes:
**Makejail**:

```
# Makejail
# Makejail

ARG tag=latest

Expand Down Expand Up @@ -195,6 +192,9 @@ Access at: `http://localhost:4533`

## 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
**User:** `bsd` (UID/GID via PUID/PGID, defaults to 1000:1000)
Expand Down