Merge remote-tracking branch 'airsonic/pr/511'

master
Andrew DeMaria 7 years ago
commit 15d6d2151f
No known key found for this signature in database
GPG Key ID: 0A3F5E91F8364EDF
  1. 2
      install/docker/Dockerfile
  2. 2
      install/docker/run.sh

@ -3,7 +3,7 @@ FROM alpine:3.6
LABEL description="Airsonic is a free, web-based media streamer, providing ubiquitious access to your music." \ LABEL description="Airsonic is a free, web-based media streamer, providing ubiquitious access to your music." \
url="https://github.com/airsonic/airsonic" url="https://github.com/airsonic/airsonic"
ENV AIRSONIC_PORT=4040 AIRSONIC_DIR=/airsonic ENV AIRSONIC_PORT=4040 AIRSONIC_DIR=/airsonic CONTEXT_PATH=/
WORKDIR $AIRSONIC_DIR WORKDIR $AIRSONIC_DIR

@ -15,7 +15,7 @@ if [[ $# -lt 1 ]] || [[ ! "$1" == "java"* ]]; then
exec java -Xmx256m \ exec java -Xmx256m \
-Dserver.host=0.0.0.0 \ -Dserver.host=0.0.0.0 \
-Dserver.port=$AIRSONIC_PORT \ -Dserver.port=$AIRSONIC_PORT \
-Dserver.contextPath=/ \ -Dserver.contextPath=$CONTEXT_PATH \
-Dairsonic.home=$AIRSONIC_DIR/data \ -Dairsonic.home=$AIRSONIC_DIR/data \
-Dairsonic.defaultMusicFolder=$AIRSONIC_DIR/music \ -Dairsonic.defaultMusicFolder=$AIRSONIC_DIR/music \
-Dairsonic.defaultPodcastFolder=$AIRSONIC_DIR/podcasts \ -Dairsonic.defaultPodcastFolder=$AIRSONIC_DIR/podcasts \

Loading…
Cancel
Save