Skip to content

Commit c7e72b1

Browse files
committed
support to change timezone
1 parent cffbeda commit c7e72b1

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ RUN GOOS=linux GOARCH=$TARGETARCH go build -o explo ./src/main/
1212

1313
FROM alpine
1414

15-
RUN apk add --no-cache libc6-compat ffmpeg yt-dlp
15+
RUN apk add --no-cache libc6-compat ffmpeg yt-dlp tzdata
1616

1717
WORKDIR /opt/explo/
1818
COPY ./docker/start.sh /start.sh

docker-compose.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,5 @@ services:
99
# - /path/to/slskd/downloads:/slskd/ # if using slskd and MIGRATE_DOWNLOADS is set to true in .env
1010
# - $PLAYLIST_DIR:$PLAYLIST_DIR # for MPD.
1111
environment:
12-
- CRON_SCHEDULE=15 00 * * 2 # Runs weekly, every Tuesday 15 minutes past midnight (UTC time)
12+
- TZ=UTC # Change this to the timezone set in ListenBrainz (default is UTC)
13+
- CRON_SCHEDULE=15 00 * * 2 # Runs weekly, every Tuesday 15 minutes past midnight

0 commit comments

Comments
 (0)