diff --git a/Dockerfile b/Dockerfile index 27bb938..495a99e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,7 +7,7 @@ ENV EDITOR=vim # Install Caddy file server ADD https://caddyserver.com/api/download?os=linux&arch=amd64&idempotency=72456813110731 \ /usr/bin/caddy -EXPOSE 9000 +EXPOSE 9999 COPY requirements.txt ./ RUN pip install -r ./requirements.txt diff --git a/Makefile b/Makefile index 447c7fb..69adc37 100644 --- a/Makefile +++ b/Makefile @@ -42,7 +42,7 @@ docker-import: docker-build -v "$(shell pwd):/beets" \ -v "$(SOURCE_DIR):/import" \ -v "$(TARGET_DIR):/library" \ - -p "9000:9000" \ + -p "9999:9999" \ $(DOCKER_TAG) \ -d /library \ import -i /import diff --git a/play.sh b/play.sh index f84259c..57a38ac 100755 --- a/play.sh +++ b/play.sh @@ -4,6 +4,6 @@ PLAYDIR=./current mkdir -p "$PLAYDIR" ln "$1" "$PLAYDIR/$(basename "$1")" ln "$1" "$PLAYDIR/play" -caddy file-server --listen :9000 --browse --root "$PLAYDIR" +caddy file-server --listen :9999 --browse --root "$PLAYDIR" rm "$PLAYDIR"/*