add reverb container, unread attribute in notification pivot table and private channel and event for new register
This commit is contained in:
@@ -6,6 +6,8 @@ services:
|
||||
context: .
|
||||
dockerfile: ./php/Dockerfile
|
||||
container_name: app-php
|
||||
extra_hosts:
|
||||
- "host.docker.internal:host-gateway"
|
||||
volumes:
|
||||
- ../:/var/www/app
|
||||
environment:
|
||||
@@ -46,6 +48,20 @@ services:
|
||||
- typesense-data:/data
|
||||
command: '--data-dir /data --api-key= --enable-cors'
|
||||
|
||||
reverb:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: ./php/Dockerfile
|
||||
container_name: app-reverb
|
||||
command: php artisan reverb:start --host=0.0.0.0 --port=8080
|
||||
volumes:
|
||||
- ../:/var/www/app
|
||||
ports:
|
||||
- "8080:8080"
|
||||
depends_on:
|
||||
- php
|
||||
- mariadb
|
||||
|
||||
volumes:
|
||||
dbdata:
|
||||
typesense-data:
|
||||
|
||||
@@ -17,4 +17,4 @@ chmod -R 775 storage bootstrap/cache
|
||||
|
||||
composer install --no-interaction --prefer-dist
|
||||
|
||||
exec php-fpm
|
||||
exec "$@"
|
||||
|
||||
@@ -2,7 +2,7 @@ FROM php:8.4-fpm
|
||||
|
||||
RUN apt-get update && apt-get install -y \
|
||||
git unzip libzip-dev libpng-dev libonig-dev \
|
||||
&& docker-php-ext-install pdo_mysql zip
|
||||
&& docker-php-ext-install pdo_mysql zip pcntl
|
||||
|
||||
COPY --from=composer:2 /usr/bin/composer /usr/bin/composer
|
||||
|
||||
|
||||
Reference in New Issue
Block a user