This commit is contained in:
f4ilji
2024-11-22 01:33:31 +05:00
parent f9b707b0bb
commit c2076d132b
+12 -10
View File
@@ -8,6 +8,7 @@ services:
ports:
- "80:80"
container_name: ntspi-nginx
restart: always
depends_on:
- app
@@ -18,20 +19,21 @@ services:
volumes:
- ./:/var/www
container_name: ntspi-php
restart: always
ports:
- '5173'
command: >
sh -c "php artisan inertia:start-ssr & php-fpm"
sh -c "php artisan inertia:start-ssr & php-fpm & 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 # Настройте параметры по необходимости
# 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