This commit is contained in:
f4ilji
2024-11-02 15:46:48 +05:00
parent 4e2863b2fe
commit 63e760872b
4 changed files with 14 additions and 35 deletions
+11 -4
View File
@@ -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"