Add caddy ports to docker runs
This commit is contained in:
parent
07f5555695
commit
99ff45d1a7
18
Makefile
18
Makefile
@ -1,6 +1,6 @@
|
||||
DOCKER_TAG ?= beets-dev
|
||||
SOURCE_DIR ?= ~/Music/Incoming
|
||||
TARGET_DIR ?= ~/Music/Library
|
||||
SOURCE_DIR ?= $(HOME)/Music/Incoming
|
||||
TARGET_DIR ?= $(HOME)/Music/Library
|
||||
BEET_CMD := BEETSDIR=. ./beets_env/bin/beet -d $(TARGET_DIR)
|
||||
|
||||
test:
|
||||
@ -39,18 +39,20 @@ docker-build:
|
||||
|
||||
docker-import: docker-build
|
||||
docker run --rm -it \
|
||||
-v $(shell pwd):/beets \
|
||||
-v $(SOURCE_DIR):/import \
|
||||
-v $(TARGET_DIR):/library \
|
||||
-v "$(shell pwd):/beets" \
|
||||
-v "$(SOURCE_DIR):/import" \
|
||||
-v "$(TARGET_DIR):/library" \
|
||||
-p "9000:9000" \
|
||||
$(DOCKER_TAG) \
|
||||
-d /library \
|
||||
import -i /import
|
||||
|
||||
docker-duplicates: docker-build
|
||||
docker run --rm -it \
|
||||
-v $(shell pwd):/beets \
|
||||
-v $(SOURCE_DIR):/import \
|
||||
-v $(TARGET_DIR):/library \
|
||||
-v "$(shell pwd):/beets" \
|
||||
-v "$(SOURCE_DIR):/import" \
|
||||
-v "$(TARGET_DIR):/library" \
|
||||
-p "9000:9000" \
|
||||
$(DOCKER_TAG) \
|
||||
-d /library \
|
||||
duplicates
|
||||
|
Loading…
Reference in New Issue
Block a user