final updates as of 2020-01-16
This commit is contained in:
parent
9e94766060
commit
85f2d23e54
2 changed files with 13 additions and 17 deletions
16
Dockerfile
16
Dockerfile
|
@ -1,14 +1,14 @@
|
||||||
FROM debian
|
FROM debian:9
|
||||||
ENV SUBSONIC_VERSION 6.1.5
|
ENV SUBSONIC_VERSION 6.1.6
|
||||||
LABEL description="Subsonic media streamer"
|
LABEL description="Subsonic media streamer"
|
||||||
LABEL version="$SUBSONIC_VERSION"
|
LABEL version="$SUBSONIC_VERSION"
|
||||||
|
|
||||||
RUN apt-get update &&\
|
RUN apt-get update &&\
|
||||||
apt-get -y dist-upgrade &&\
|
apt-get -y dist-upgrade &&\
|
||||||
apt-get -y install openjdk-8-jre-headless wget libav-tools lame &&\
|
apt-get -y install openjdk-8-jre-headless wget ffmpeg lame &&\
|
||||||
mkdir -p /opt/data/transcode /opt/music/ /opt/playlist/ /opt/podcast/ &&\
|
mkdir -p /opt/data/transcode /opt/music/ /opt/playlist/ /opt/podcast/ &&\
|
||||||
ln -s /usr/bin/lame /opt/data/transcode/lame &&\
|
ln -s /usr/bin/lame /opt/data/transcode/lame &&\
|
||||||
ln -s /usr/bin/avconv /opt/data/transcode/ffmpeg &&\
|
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 &&\
|
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 &&\
|
mkdir -p /opt/subsonic &&\
|
||||||
tar -C /opt/subsonic -xf subsonic.tar.gz &&\
|
tar -C /opt/subsonic -xf subsonic.tar.gz &&\
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
version: "3"
|
version: "3"
|
||||||
services:
|
services:
|
||||||
subsonic:
|
subsonic:
|
||||||
#image: vbatts/subsonic
|
image: vbatts/subsonic
|
||||||
|
network_mode: "host"
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
|
@ -10,11 +11,6 @@ services:
|
||||||
- 0.0.0.0:4043:4043/tcp
|
- 0.0.0.0:4043:4043/tcp
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
- /mnt/data/subsonic:/opt/data/
|
- /mnt/data/subsonic:/opt/data/
|
||||||
- /mnt/data/Videos/:/opt/Videos:ro
|
- /mnt/video/:/opt/Videos
|
||||||
- /mnt/data/Audio/:/opt/music:ro
|
- /mnt/audio/:/opt/music
|
||||||
- /mnt/laura/:/opt/laura:ro
|
|
||||||
- /mnt/data/storage/syncthing/Music/:/opt/syncthing:ro
|
|
||||||
#networks:
|
|
||||||
# host:
|
|
||||||
# external: true
|
|
||||||
|
|
Loading…
Reference in a new issue