mirror of
https://github.com/hoellen/dockerfiles.git
synced 2025-04-20 04:19:18 +00:00
subsonic: add full https support
This commit is contained in:
parent
ef5aa3147c
commit
16edf91dc6
@ -3,7 +3,8 @@ MAINTAINER Wonderfall <wonderfall@schrodinger.io>
|
||||
|
||||
ARG VERSION=6.0
|
||||
|
||||
ENV GID=991 UID=991
|
||||
ENV UID=991 GID=991 \
|
||||
HTTPSPORT=0
|
||||
|
||||
WORKDIR /subsonic
|
||||
|
||||
@ -20,7 +21,7 @@ COPY run.sh /usr/local/bin/run.sh
|
||||
|
||||
RUN chmod +x /usr/local/bin/run.sh
|
||||
|
||||
EXPOSE 4040
|
||||
EXPOSE 4040 4050
|
||||
|
||||
VOLUME /data /musics /playlists /podcasts
|
||||
|
||||
|
@ -7,11 +7,11 @@ ln -s /usr/bin/lame /data/transcode/lame
|
||||
chown -R $UID:$GID /data /playlists /subsonic
|
||||
|
||||
exec su-exec $UID:$GID tini -- \
|
||||
java -Xmx200m \
|
||||
java -Xmx256m \
|
||||
-Dsubsonic.home=/data \
|
||||
-Dsubsonic.host=0.0.0.0 \
|
||||
-Dsubsonic.port=4040 \
|
||||
-Dsubsonic.httpsPort=0 \
|
||||
-Dsubsonic.httpsPort=$HTTPSPORT \
|
||||
-Dsubsonic.contextPath=/ \
|
||||
-Dsubsonic.defaultMusicFolder=/musics \
|
||||
-Dsubsonic.defaultPodcastFolder=/podcasts \
|
||||
|
Loading…
x
Reference in New Issue
Block a user