Compare commits

...

2 Commits

Author SHA1 Message Date
Nick Stokoe
f85b032bb7 Dockerfile - clean up more after build
Rust isn't needed after building. Various other packages and caches
can be deleted.

setuptools needed to avoid error like:

     ModuleNotFoundError: No module named 'pkg_resources'
2021-02-19 14:47:38 +00:00
Nick Stokoe
225f3ed4c2 Dockerfile / mopidy.conf - add jellyfin plug-in 2021-02-19 14:47:12 +00:00
2 changed files with 27 additions and 2 deletions

View File

@@ -30,8 +30,8 @@ RUN \
libffi-dev \
openssl-dev \
python3-dev \
py3-setuptools \
py3-pip \
py3-wheel \
libcdio \
libcaca \
libvpx \
@@ -61,11 +61,24 @@ RUN \
Mopidy-Iris \
Mopidy-Local \
Mopidy-MPD \
Mopidy-Jellyfin \
Mopidy-Spotify-Web \
Mopidy-SoundCloud \
&& echo "* Cleaning up" \
&& rm -rf /var/cache/apk/* \
&& rm -rf /tmp/*
&& rm -rf /root/.cache /root/.cargo \
&& rm -rf /tmp/* \
&& apk del \
build-base \
rust \
cargo \
libxml2-dev \
libxslt-dev \
libffi-dev \
openssl-dev \
python3-dev \
py3-pip
# Do this in a separate layer, because building the last is slooow
# This allows us to alter these parameters without rebuilding the last.

View File

@@ -45,9 +45,15 @@ image_dir = /data/.images
[http]
hostname = 0.0.0.0
port = 6680
[mpd]
enabled = true
# Useful if you want to control this instance from a remote MPD client
hostname = 0.0.0.0
port = 6600
# This will help avoid timeout errors for artists or folders with large amounts of files
connection_timeout = 300
[iris]
country = GB
@@ -76,3 +82,9 @@ auth_token =
[scrobbler]
username =
password =
[jellyfin]
hostname = 172.17.0.1
username = mopidy
password = 66Hky1XQL1oTg
libraries = Music