Skip to content

Commit

Permalink
add Docker增加时区配置环境变量
Browse files Browse the repository at this point in the history
  • Loading branch information
dr34m-cn committed Aug 23, 2024
1 parent f3bdc2e commit aaa4b4d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ FROM dr34m/tao-sync:not-for-use-alpine
VOLUME /app/data
WORKDIR /app
COPY --from=builder /app/dist/taoSync /app/
ENV TAO_EXPIRES=2 TAO_LOG_LEVEL=1 TAO_LOG_SAVE=7 TAO_TASK_SAVE=0 TAO_TASK_TIMEOUT=72
ENV TAO_EXPIRES=2 TAO_LOG_LEVEL=1 TAO_LOG_SAVE=7 TAO_TASK_SAVE=0 TAO_TASK_TIMEOUT=72 TZ=Asia/Shanghai
EXPOSE 8023
CMD ["./taoSync"]
1 change: 1 addition & 0 deletions doc/changelog/v0.2.2.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
* linux-s390x
* linux-ppc64le
* 支持通过[Github Actions](https://docs.github.com/zh/actions)自动发布Release
* Docker增加时区配置环境变量TZ,默认值为Asia/Shanghai

## 🎨 优化

Expand Down
2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
v0.2.2-pre-build0
v0.2.2-pre-build1

该文件仅第一行有效,表示打包的版本。
如果要打包多个,以英文,分隔,例如【v1.0.0,latest】;
Expand Down

0 comments on commit aaa4b4d

Please sign in to comment.