Change caddy port
This commit is contained in:
parent
99ff45d1a7
commit
885a14dd6f
@ -7,7 +7,7 @@ ENV EDITOR=vim
|
|||||||
# Install Caddy file server
|
# Install Caddy file server
|
||||||
ADD https://caddyserver.com/api/download?os=linux&arch=amd64&idempotency=72456813110731 \
|
ADD https://caddyserver.com/api/download?os=linux&arch=amd64&idempotency=72456813110731 \
|
||||||
/usr/bin/caddy
|
/usr/bin/caddy
|
||||||
EXPOSE 9000
|
EXPOSE 9999
|
||||||
|
|
||||||
COPY requirements.txt ./
|
COPY requirements.txt ./
|
||||||
RUN pip install -r ./requirements.txt
|
RUN pip install -r ./requirements.txt
|
||||||
|
2
Makefile
2
Makefile
@ -42,7 +42,7 @@ docker-import: docker-build
|
|||||||
-v "$(shell pwd):/beets" \
|
-v "$(shell pwd):/beets" \
|
||||||
-v "$(SOURCE_DIR):/import" \
|
-v "$(SOURCE_DIR):/import" \
|
||||||
-v "$(TARGET_DIR):/library" \
|
-v "$(TARGET_DIR):/library" \
|
||||||
-p "9000:9000" \
|
-p "9999:9999" \
|
||||||
$(DOCKER_TAG) \
|
$(DOCKER_TAG) \
|
||||||
-d /library \
|
-d /library \
|
||||||
import -i /import
|
import -i /import
|
||||||
|
2
play.sh
2
play.sh
@ -4,6 +4,6 @@ PLAYDIR=./current
|
|||||||
mkdir -p "$PLAYDIR"
|
mkdir -p "$PLAYDIR"
|
||||||
ln "$1" "$PLAYDIR/$(basename "$1")"
|
ln "$1" "$PLAYDIR/$(basename "$1")"
|
||||||
ln "$1" "$PLAYDIR/play"
|
ln "$1" "$PLAYDIR/play"
|
||||||
caddy file-server --listen :9000 --browse --root "$PLAYDIR"
|
caddy file-server --listen :9999 --browse --root "$PLAYDIR"
|
||||||
rm "$PLAYDIR"/*
|
rm "$PLAYDIR"/*
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user