Working version w/ added queue for docker development

This commit is contained in:
Ronald A. Richardson
2024-01-31 17:36:28 +08:00
parent eedeb8f209
commit f2058e0d58
6 changed files with 3242 additions and 2906 deletions

View File

@@ -23,6 +23,21 @@ services:
SOCKETCLUSTER_WORKERS: 10
SOCKETCLUSTER_BROKERS: 10
queue:
build:
context: .
dockerfile: docker/Dockerfile
target: events-dev
args:
ENVIRONMENT: development
environment:
DATABASE_URL: "mysql://root@database/fleetbase"
QUEUE_CONNECTION: redis
CACHE_DRIVER: redis
CACHE_PATH: /var/www/html/api/storage/framework/cache
CACHE_URL: tcp://cache
REDIS_URL: tcp://cache
console:
ports:
- "4200:4200"
@@ -43,6 +58,7 @@ services:
ENVIRONMENT: development
environment:
DATABASE_URL: "mysql://root@database/fleetbase"
QUEUE_CONNECTION: redis
CACHE_DRIVER: redis
CACHE_PATH: /var/www/html/api/storage/framework/cache
CACHE_URL: tcp://cache
@@ -54,4 +70,5 @@ services:
LOG_CHANNEL: daily
depends_on:
- database
- cache
- cache
- queue