Skip to content

Commit f7b421d

Browse files
committed
add variables and volume mapping
1 parent de6cc44 commit f7b421d

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

docker-compose.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ services:
66
volumes:
77
- /path/to/.env:/opt/explo/.env
88
- /path/to/musiclibrary/explo:/data/ # has to be in the same path you have your music system pointed to (it's recommended to put explo under a subfolder)
9+
# - /path/to/slskd/downloads:/slskd/ # if using slskd and MIGRATE_DOWNLOADS is set to true in .env
910
# - $PLAYLIST_DIR:$PLAYLIST_DIR # for MPD.
1011
environment:
1112
- CRON_SCHEDULE=15 00 * * 2 # Runs weekly, every Tuesday 15 minutes past midnight (UTC time)

sample.env

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ LIBRARY_NAME=
2525
# === Downloader Configuration ===
2626

2727
# Directory to store downloaded tracks. It's recommended to make a separate directory (under the music library) for Explo
28-
# PS! This is only needed when running the binary version
28+
# PS! This is only needed when running the binary version, in docker it's set through volume mapping
2929
# DOWNLOAD_DIR=/path/to/musiclibrary/explo/
3030
# Comma-separated list (no spaces) of download services, in priority order (default: youtube)
3131
# DOWNLOAD_SERVICES=youtube
@@ -50,6 +50,11 @@ YOUTUBE_API_KEY=
5050
# SLSKD_URL=
5151
# Slskd API key
5252
# SLSKD_API_KEY=
53+
# Whether to move downloads under the DOWNLOAD_DIR or not (default: false)
54+
# MIGARTE_DOWNLOADS=false
55+
# Directory where slskd downloads tracks (default: /slskd/)
56+
# PS! This is only needed on the binary version, in docker it's set through volume mapping
57+
# SLSKD_DIR=/slskd/
5358
# Number of times to check search status before skipping the track (default: 5)
5459
# SLSKD_RETRY=5
5560
# Number of download attempts for a track (default: 3)

0 commit comments

Comments
 (0)