This commit is contained in:
Andras Bacsai 2023-04-28 11:00:21 +02:00
parent b733865cb5
commit ebba7f7ecb
3 changed files with 6 additions and 2 deletions

View File

@ -14,7 +14,7 @@ class Kernel extends ConsoleKernel
*/
protected function schedule(Schedule $schedule): void
{
$schedule->job(new ContainerStatusJob)->everyFiveMinutes();
$schedule->job(new ContainerStatusJob)->everyMinute();
$schedule->job(new DockerCleanupDanglingImagesJob)->everyMinute();
}

View File

@ -4,6 +4,10 @@ services:
image: "ghcr.io/coollabsio/coolify:${APP_TAG:-4.0.0-nightly.0}"
container_name: coolify
volumes:
- type: bind
source: /data/coolify/source/.env
target: /var/www/html/.env
read_only: true
- /data/coolify/deployments:/var/www/html/storage/app/deployments
- /data/coolify/ssh-keys:/var/www/html/storage/app/ssh-keys
- /data/coolify/proxy:/var/www/html/storage/app/proxy

View File

@ -1,2 +1,2 @@
#!/command/execlineb -P
su - webuser -c "php /var/www/html/artisan queue:work --timeout=600 --rest=1 --memory=512"
su - webuser -c "php /var/www/html/artisan queue:work --timeout=600 --memory=512"