This commit is contained in:
Chimezie Enyinnaya
2024-09-10 09:44:28 +01:00
parent a499bda5fe
commit 83205667e7

View File

@@ -2,7 +2,9 @@ version: '3.8'
services:
app:
image: 'ammezie/laravelcoolify:latest'
build:
context: .
dockerfile: Dockerfile
volumes:
- '.:/var/www/html'
environment:
@@ -56,7 +58,10 @@ services:
- mysql
worker:
image: 'ammezie/laravelcoolify:latest'
# image: 'ammezie/laravelcoolify:latest'
build:
context: .
dockerfile: Dockerfile
command: ["php", "/var/www/html/artisan", "queue:work", "--tries=3"]
volumes:
- '.:/var/www/html'