This commit is contained in:
f4ilji
2024-11-22 13:34:23 +05:00
parent c2076d132b
commit 2ecc35ccb3
+10 -11
View File
@@ -8,7 +8,6 @@ services:
ports:
- "80:80"
container_name: ntspi-nginx
restart: always
depends_on:
- app
@@ -23,17 +22,17 @@ services:
ports:
- '5173'
command: >
sh -c "php artisan inertia:start-ssr & php-fpm & php artisan queue:work --tries=3 --timeout=90"
sh -c "php artisan inertia:start-ssr & php-fpm"
# php-queue:
# restart: always
# build:
# context: .
# dockerfile: _docker/app/Dockerfile
# volumes:
# - ./:/var/www
# container_name: ntspi-php-queue
# command: php artisan queue:work --tries=3 --timeout=90 # Настройте параметры по необходимости
php-queue:
restart: always
build:
context: .
dockerfile: _docker/app/Dockerfile
volumes:
- ./:/var/www
container_name: ntspi-php-queue
command: php artisan queue:work --tries=3 --timeout=90 # Настройте параметры по необходимости
db:
image: mysql:8.0