Skip to content

Commit

Permalink
chore: 容器停止之前预留时间执行关闭前操作
Browse files Browse the repository at this point in the history
  • Loading branch information
fit2cloud-chenyw committed Jan 7, 2025
1 parent 7d180c5 commit 62c13bb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
FROM registry.cn-qingdao.aliyuncs.com/dataease/alpine-openjdk21-jre
STOPSIGNAL SIGQUIT
STOPSIGNAL SIGTERM
RUN mkdir -p /opt/apps/config \
/opt/dataease2.0/drivers/ \
/opt/dataease2.0/cache/ \
Expand Down
2 changes: 2 additions & 0 deletions installer/dataease/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ services:

dataease:
image: registry.cn-qingdao.aliyuncs.com/dataease/dataease:DE_TAG
stop_signal: SIGTERM
stop_grace_period: 15s
container_name: dataease
ports:
- ${DE_PORT}:8100
Expand Down

0 comments on commit 62c13bb

Please sign in to comment.