Clear Doctrine identity map after each film import to prevent memory accumulation. Run messenger with --no-debug and higher PHP memory_limit to avoid profiling overhead in dev. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
39 lines
787 B
YAML
39 lines
787 B
YAML
services:
|
|
app:
|
|
build:
|
|
context: .
|
|
dockerfile: docker/app/Dockerfile
|
|
target: dev
|
|
environment:
|
|
APP_ENV: dev
|
|
volumes:
|
|
- .:/app
|
|
ports:
|
|
- "${PORT_80:-80}:80"
|
|
|
|
messenger:
|
|
command: ["php", "-d", "memory_limit=512M", "bin/console", "messenger:consume", "async", "--time-limit=3600", "--memory-limit=256M", "-vv", "--no-debug"]
|
|
volumes:
|
|
- .:/app
|
|
|
|
database:
|
|
ports:
|
|
- "0.0.0.0:5432:5432"
|
|
|
|
node:
|
|
build:
|
|
context: .
|
|
dockerfile: docker/node/Dockerfile
|
|
target: dev
|
|
image: git.lclr.dev/thibaud-lclr/ltbxd-actorle/node:latest
|
|
volumes:
|
|
- .:/app
|
|
- node_modules:/app/node_modules
|
|
ports:
|
|
- "${PORT_5173:-5173}:5173"
|
|
depends_on:
|
|
- app
|
|
|
|
volumes:
|
|
node_modules:
|