Fix: Aligning docker compose and Dockerfile with entrypoints

This commit is contained in:
2026-09-28 18:04:23 +03:00
parent 88d8ae0954
commit 023c11019c
3 changed files with 6 additions and 9 deletions
+2 -8
View File
@@ -19,7 +19,6 @@
pull
docker_build
docker_up
migrate
artisan_optimize
restart_workers
stoic_generate_thumbs
@@ -45,12 +44,6 @@
{{ $compose }} up -d --remove-orphans
@endtask
@task('migrate', ['on' => 'web'])
echo ">>> Running migrations..."
cd {{ $path }}
{{ $compose }} exec -T app php artisan migrate --force < /dev/null
@endtask
@task('artisan_optimize', ['on' => 'web'])
echo ">>> Optimizing..."
cd {{ $path }}
@@ -61,9 +54,10 @@
@endtask
@task('restart_workers', ['on' => 'web'])
echo ">>> Restarting queue workers..."
echo ">>> Restarting queue workers and scheduler..."
cd {{ $path }}
{{ $compose }} restart queue
{{ $compose }} restart scheduler
@endtask
@task('password_protect', ['on' => 'web'])