forked from CodeGraphContext/CodeGraphContext
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.dev.yml
More file actions
38 lines (35 loc) · 1.42 KB
/
docker-compose.dev.yml
File metadata and controls
38 lines (35 loc) · 1.42 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Development overlay — adds Xdebug DBGp listener service.
#
# Usage (with plugin stack — recommended):
# docker compose -f docker-compose.plugin-stack.yml -f docker-compose.dev.yml up -d
#
# Usage (with core template + neo4j profile):
# docker compose -f docker-compose.template.yml --profile neo4j -f docker-compose.dev.yml up -d
#
# IMPORTANT: The Xdebug listener only starts when CGC_PLUGIN_XDEBUG_ENABLED=true.
# IMPORTANT: Requires neo4j service with a healthcheck (provided by docker-compose.plugin-stack.yml).
version: '3.8'
services:
# ── CGC Xdebug DBGp listener ──────────────────────────────────────────────
xdebug-listener:
build:
context: plugins/cgc-plugin-xdebug
dockerfile: Dockerfile
container_name: cgc-xdebug-listener
environment:
- NEO4J_URI=${NEO4J_URI:-bolt://neo4j:7687}
- NEO4J_USERNAME=${NEO4J_USERNAME:-neo4j}
- NEO4J_PASSWORD=${NEO4J_PASSWORD:-codegraph123}
- XDEBUG_LISTEN_HOST=${XDEBUG_LISTEN_HOST:-0.0.0.0}
- XDEBUG_LISTEN_PORT=${XDEBUG_LISTEN_PORT:-9003}
- XDEBUG_DEDUP_CACHE_SIZE=${XDEBUG_DEDUP_CACHE_SIZE:-10000}
- CGC_PLUGIN_XDEBUG_ENABLED=true
- LOG_LEVEL=${LOG_LEVEL:-DEBUG}
ports:
- "9003:9003"
depends_on:
neo4j:
condition: service_healthy
networks:
- cgc-network
restart: unless-stopped