Change caddy port

This commit is contained in:
IamTheFij 2020-11-18 10:52:38 -08:00
parent 99ff45d1a7
commit 885a14dd6f
3 changed files with 3 additions and 3 deletions

View File

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

View File

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

View File

@ -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"/*