feat: add cron scheduling and update services

- Added go-crond library to Dockerfile for task scheduling
- Created schedule service in compose.yaml with go-crond
- Added cron configuration file: docker/cron/laravel
- Updated README.md
- Improved service configurations with health checks
- Switched to base frankenphp image
This commit is contained in:
2026-02-08 00:15:35 +07:00
parent d6022b9bca
commit 6d721dba79
4 changed files with 39 additions and 11 deletions

1
docker/cron/laravel Normal file
View File

@@ -0,0 +1 @@
* * * * * appuser cd /var/www && /usr/local/bin/php artisan schedule:run >> /var/www/storage/logs/cron.log 2>&1