fix: no image healthcheck for scheduler/worker — they run artisan, not nginx
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BCrwHHnGCB5XH968Nxokqw
This commit is contained in:
@@ -21,6 +21,7 @@ services:
|
|||||||
image: hado-app
|
image: hado-app
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
command: ["php", "/var/www/html/artisan", "schedule:work"]
|
command: ["php", "/var/www/html/artisan", "schedule:work"]
|
||||||
|
healthcheck: { disable: true } # healthcheck образа стучится в nginx, которого тут нет
|
||||||
env_file: ./core/.env
|
env_file: ./core/.env
|
||||||
depends_on:
|
depends_on:
|
||||||
app:
|
app:
|
||||||
@@ -30,6 +31,7 @@ services:
|
|||||||
image: hado-app
|
image: hado-app
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
command: ["php", "/var/www/html/artisan", "queue:work", "--tries=3", "--sleep=1"]
|
command: ["php", "/var/www/html/artisan", "queue:work", "--tries=3", "--sleep=1"]
|
||||||
|
healthcheck: { disable: true }
|
||||||
env_file: ./core/.env
|
env_file: ./core/.env
|
||||||
depends_on:
|
depends_on:
|
||||||
app:
|
app:
|
||||||
|
|||||||
Reference in New Issue
Block a user