Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ RUN curl -L https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp -o

# build jar with gradle

FROM gradle:jdk8 as gradle-build
FROM gradle:7.6.1-jdk8 as gradle-build

WORKDIR /home/gradle/project

Expand Down Expand Up @@ -49,4 +49,4 @@ COPY --from=gradle-build /home/gradle/project/EternalJukebox/build/libs/* ./
# envsubst is used so environment variables can be used instead of a config file

CMD envsubst < "/EternalJukebox/envvar_config.yaml" > "/EternalJukebox/config.yaml"\
&& java -jar EternalJukebox.jar
&& java -jar EternalJukebox.jar
2 changes: 1 addition & 1 deletion config_template.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"apiKey": "<API_KEY>"
},
"workerExecuteTimeComment": "How long blocking workers can go for (in ns)",
"workerExecuteTime": 1200000000000
"workerExecuteTime": 1200000000000,

"databaseTypeComment": "Can either be JDBC or H2",
"databaseTypeComment2": "If H2, you'll need to provide 'databaseName' under options, or leave it blank to default to 'eternal_jukebox'",
Expand Down