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 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +