final updates as of 2020-01-16

This commit is contained in:
vbatts 2021-09-04 13:20:28 -04:00
parent 9e94766060
commit 85f2d23e54
2 changed files with 13 additions and 17 deletions

View file

@ -1,14 +1,14 @@
FROM debian
ENV SUBSONIC_VERSION 6.1.5
FROM debian:9
ENV SUBSONIC_VERSION 6.1.6
LABEL description="Subsonic media streamer"
LABEL version="$SUBSONIC_VERSION"
RUN apt-get update &&\
apt-get -y dist-upgrade &&\
apt-get -y install openjdk-8-jre-headless wget libav-tools lame &&\
mkdir -p /opt/data/transcode /opt/music/ /opt/playlist/ /opt/podcast/ &&\
ln -s /usr/bin/lame /opt/data/transcode/lame &&\
ln -s /usr/bin/avconv /opt/data/transcode/ffmpeg &&\
RUN apt-get update &&\
apt-get -y dist-upgrade &&\
apt-get -y install openjdk-8-jre-headless wget ffmpeg lame &&\
mkdir -p /opt/data/transcode /opt/music/ /opt/playlist/ /opt/podcast/ &&\
ln -s /usr/bin/lame /opt/data/transcode/lame &&\
ln -s /usr/bin/avconv /opt/data/transcode/ffmpeg &&\
wget "https://sourceforge.net/projects/subsonic/files/subsonic/$SUBSONIC_VERSION/subsonic-$SUBSONIC_VERSION-standalone.tar.gz/download" -O subsonic.tar.gz --quiet &&\
mkdir -p /opt/subsonic &&\
tar -C /opt/subsonic -xf subsonic.tar.gz &&\

View file

@ -1,7 +1,8 @@
version: "3"
services:
subsonic:
#image: vbatts/subsonic
image: vbatts/subsonic
network_mode: "host"
build:
context: .
dockerfile: Dockerfile
@ -10,11 +11,6 @@ services:
- 0.0.0.0:4043:4043/tcp
restart: always
volumes:
- /mnt/data/subsonic:/opt/data/
- /mnt/data/Videos/:/opt/Videos:ro
- /mnt/data/Audio/:/opt/music:ro
- /mnt/laura/:/opt/laura:ro
- /mnt/data/storage/syncthing/Music/:/opt/syncthing:ro
#networks:
# host:
# external: true
- /mnt/data/subsonic:/opt/data/
- /mnt/video/:/opt/Videos
- /mnt/audio/:/opt/music