Changes
This commit is contained in:
+12
-10
@@ -8,6 +8,7 @@ services:
|
|||||||
ports:
|
ports:
|
||||||
- "80:80"
|
- "80:80"
|
||||||
container_name: ntspi-nginx
|
container_name: ntspi-nginx
|
||||||
|
restart: always
|
||||||
depends_on:
|
depends_on:
|
||||||
- app
|
- app
|
||||||
|
|
||||||
@@ -18,20 +19,21 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- ./:/var/www
|
- ./:/var/www
|
||||||
container_name: ntspi-php
|
container_name: ntspi-php
|
||||||
|
restart: always
|
||||||
ports:
|
ports:
|
||||||
- '5173'
|
- '5173'
|
||||||
command: >
|
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:
|
# php-queue:
|
||||||
restart: always
|
# restart: always
|
||||||
build:
|
# build:
|
||||||
context: .
|
# context: .
|
||||||
dockerfile: _docker/app/Dockerfile
|
# dockerfile: _docker/app/Dockerfile
|
||||||
volumes:
|
# volumes:
|
||||||
- ./:/var/www
|
# - ./:/var/www
|
||||||
container_name: ntspi-php-queue
|
# container_name: ntspi-php-queue
|
||||||
command: php artisan queue:work --tries=3 --timeout=90 # Настройте параметры по необходимости
|
# command: php artisan queue:work --tries=3 --timeout=90 # Настройте параметры по необходимости
|
||||||
|
|
||||||
db:
|
db:
|
||||||
image: mysql:8.0
|
image: mysql:8.0
|
||||||
|
|||||||
Reference in New Issue
Block a user