summaryrefslogtreecommitdiffstats
path: root/docker-compose/debug.yml
blob: 62cacf82eb1f834236f7d3f7c8c2d8d516ddc37d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
version: '3'
services:

  # Added debug configurations - exposing port and added required JAVA_OPTIONS for debug
  # for both backend and frontend

  sdc-workflow-backend:
    ports:
    - "${BACKEND_DEBUG_PORT}:${BACKEND_DEBUG_PORT}"
    environment:
    - JAVA_OPTIONS=${JAVA_OPTIONS} -Xdebug -agentlib:jdwp=transport=dt_socket,address=${BACKEND_DEBUG_PORT},server=y,suspend=n

  sdc-workflow-frontend:
    ports:
    - "${FRONTEND_DEBUG_PORT}:${FRONTEND_DEBUG_PORT}"
    environment:
    - JAVA_OPTIONS=${JAVA_OPTIONS} -Xdebug -agentlib:jdwp=transport=dt_socket,address=${FRONTEND_DEBUG_PORT},server=y,suspend=n