From c59be26ea31d5731aff991ce3be3f4a9851ab3ea Mon Sep 17 00:00:00 2001 From: kaadon Date: Fri, 31 Oct 2025 17:08:27 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9docker?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docker/crontab | 4 ++-- public/.dockerignore | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 public/.dockerignore diff --git a/docker/crontab b/docker/crontab index 2fc0123..a389b44 100644 --- a/docker/crontab +++ b/docker/crontab @@ -1,5 +1,5 @@ # 每分钟执行 start.sh -* * * * * /bin/sh /app/public/start.sh >> /app/runtime/log/cron.log 2>&1 +* * * * * /bin/sh /app/public/start.sh >> /app/runtime/log/start_log.log 2>&1 # 每分钟执行 think InterestTreasure -* * * * * cd /app && /usr/local/bin/php /app/think InterestTreasure >> /app/runtime/log/think.log 2>&1 +* * * * * cd /app && /usr/local/bin/php /app/think InterestTreasure >> /app/runtime/log/InterestTreasure_log.log 2>&1 diff --git a/public/.dockerignore b/public/.dockerignore new file mode 100644 index 0000000..3e7d1ad --- /dev/null +++ b/public/.dockerignore @@ -0,0 +1 @@ +.user.ini