modernize setup

This commit is contained in:
nine committed 2026-10-27 06:40:15 +01:00
1 parent 2557834bda
commit 8b7c3d2b99
4 files changed
+24 -13

No files matched your search

+14 -4
View File
@@ -1,4 +1,7 @@
ARG BUILD_FROM=docker.io/arm32v7/debian:bookworm-slim
#ARG BUILD_FROM=docker.io/arm32v7/debian:trixie-slim
ARG BUILD_FROM=debian:trixie-slim
ENV DEBIAN_FRONTEND=noninteractive
FROM $BUILD_FROM
@@ -13,19 +16,26 @@ RUN apt-get update \
python3-pip \
python3-setuptools \
python3-wheel \
python3-venv \
libasound2-dev \
libcairo2-dev \
libgirepository-2.0-dev \
&& rm -rf /var/lib/apt/lists/*
ENV VIRTUAL_ENV=/opt/venv
RUN python3 -m venv $VIRTUAL_ENV
ENV PATH="$VIRTUAL_ENV/bin:$PATH"
COPY requirements.txt requirements.txt
RUN pip3 install --break-system-packages -r requirements.txt \
RUN python3 -m pip install -r requirements.txt \
&& rm -rf ~/.cache/pip
RUN update-ca-certificates --fresh
RUN mkdir /root/music
#RUN mkdir /root/music
VOLUME ["/root/.cache/mopidy", "/root/.local/share/mopidy", "/root/music"]
#VOLUME ["/root/.cache/mopidy", "/root/.local/share/mopidy", "/root/music"]
ENV TZ=Europe/Vienna
Regular → Executable
View File
File mode changed.
+4 -4
View File
@@ -34,10 +34,10 @@ hostname = 0.0.0.0
enabled = true
hostname = 0.0.0.0
[file]
enabled = true
media_dirs = ~/music/|Music
metadata_timeout = 10000
#[file]
#enabled = true
#media_dirs = ~/music/|Music
#metadata_timeout = 10000
[stream]
enabled = true
+6 -5
View File
@@ -1,8 +1,8 @@
# https://github.com/mopidy/mopidy/releases
Mopidy==3.4.2
Mopidy==4.0.5
# https://github.com/mopidy/mopidy-mpd/releases
Mopidy-MPD==3.3.0
Mopidy-MPD==4.0.1
# https://github.com/impliedchaos/mopidy-bandcamp
Mopidy-Bandcamp==1.1.5
@@ -14,13 +14,14 @@ Mopidy-Bandcamp==1.1.5
# Mopidy-Muse==0.0.41
# # https://github.com/mopidy/mopidy-orfradio
# mopidy-orfradio==2.3.0
mopidy-orfradio==3.0.0
# https://github.com/natumbri/mopidy-youtube
Mopidy-Youtube
Mopidy-Youtube==4.0.2
yt-dlp
# https://github.com/Lesterpig/mopidy-party
Mopidy-Party
Mopidy-Party==1.3.0
# https://github.com/sapristi/mopidy-mowecl
Mopidy-Mowecl==0.6.1