forked from Yoongger/xiaoya-sync
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathDockerfile
More file actions
20 lines (20 loc) · 822 Bytes
/
Dockerfile
File metadata and controls
20 lines (20 loc) · 822 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
FROM eclipse-temurin:8u422-b05-jre-jammy
LABEL authors=yoongger description="同步小雅emby媒体库" title=xiaoya-sync
COPY ./target/xiaoyasync.jar /xiaoyasync.jar
VOLUME ["/data", "/log"]
ENV TZ=Asia/Shanghai
ENV runAfterStartup="0"
ENV excludeList=""
ENV syncUrl=""
ENV syncDir=""
ENV dockerAddress=""
ENV tgToken=""
ENV tgUserId=""
ENV tgUserName="bot"
ENV logLevel=""
ENV retryDownEmptyFile="0"
ENV JAVA_OPTS="-Xms32m -Xmx512m"
ENV logLevel="INFO"
ENV cron="0 0 6,18 * * ?"
ENV cronAll="0 0 3 1/3 * ?"
ENTRYPOINT ["sh","-c","java -jar $JAVA_OPTS -XX:+UseG1GC -XX:+OptimizeStringConcat -XX:+PrintGCDetails -Xloggc:/log/gc.log -XX:+PrintGCDateStamps -XX:+PrintGCTimeStamps -XX:+PrintGCApplicationStoppedTime -XX:+PrintGCApplicationConcurrentTime -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/log /xiaoyasync.jar"]