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