From d66dbf5824bed5d1a555913bf6dba345de0d3200 Mon Sep 17 00:00:00 2001 From: Cyrille Nofficial Date: Thu, 29 Oct 2015 20:16:35 +0100 Subject: [PATCH] Support X-FORWARDED-* headers --- Dockerfile | 1 + server.xml | 149 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 150 insertions(+) create mode 100644 server.xml diff --git a/Dockerfile b/Dockerfile index c8b0213..5547ba1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -17,6 +17,7 @@ RUN apt-get update &&\ -O subsonic.war.zip --quiet &&\ unzip subsonic.war.zip && rm subsonic.war.zip && mv subsonic.war ROOT.war +ADD server.xml /usr/local/tomcat/conf/ ENV JAVA_OPTS="-Dsubsonic.contextPath=/ -Dsubsonic.home=/opt/data -Dsubsonic.defaultMusicFolder=/opt/music/ -Dsubsonic.defaultPodcastFolder=/opt/podcast/ -Dsubsonic.defaultPlaylistFolder=/opt/playlist/" VOLUME /opt/data diff --git a/server.xml b/server.xml new file mode 100644 index 0000000..7dce9e6 --- /dev/null +++ b/server.xml @@ -0,0 +1,149 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +