Changes
This commit is contained in:
+11
-4
@@ -20,11 +20,19 @@ services:
|
||||
container_name: ntspi-php
|
||||
ports:
|
||||
- '5173'
|
||||
depends_on:
|
||||
- db
|
||||
command: >
|
||||
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 # Настройте параметры по необходимости
|
||||
|
||||
db:
|
||||
image: mysql:8.0
|
||||
restart: always
|
||||
@@ -37,5 +45,4 @@ services:
|
||||
- MYSQL_USER=admin
|
||||
- MYSQL_PASSWORD=secret
|
||||
ports:
|
||||
- "3306:3306"
|
||||
|
||||
- "3306:3306"
|
||||
Reference in New Issue
Block a user