vempo | d8c50df | 2018-11-28 20:09:17 +0200 | [diff] [blame] | 1 | version: '3' |
| 2 | services: |
| 3 | |
| 4 | # Added debug configurations - exposing port and added required JAVA_OPTIONS for debug |
| 5 | # for both backend and frontend |
| 6 | |
vasraz | 6dc58fd | 2019-10-02 12:08:49 +0100 | [diff] [blame] | 7 | sdc-workflow-backend: |
vempo | d8c50df | 2018-11-28 20:09:17 +0200 | [diff] [blame] | 8 | ports: |
| 9 | - "${BACKEND_DEBUG_PORT}:${BACKEND_DEBUG_PORT}" |
| 10 | environment: |
| 11 | - JAVA_OPTIONS=${JAVA_OPTIONS} -Xdebug -agentlib:jdwp=transport=dt_socket,address=${BACKEND_DEBUG_PORT},server=y,suspend=n |
| 12 | |
vasraz | 6dc58fd | 2019-10-02 12:08:49 +0100 | [diff] [blame] | 13 | sdc-workflow-frontend: |
vempo | d8c50df | 2018-11-28 20:09:17 +0200 | [diff] [blame] | 14 | ports: |
| 15 | - "${FRONTEND_DEBUG_PORT}:${FRONTEND_DEBUG_PORT}" |
| 16 | environment: |
| 17 | - JAVA_OPTIONS=${JAVA_OPTIONS} -Xdebug -agentlib:jdwp=transport=dt_socket,address=${FRONTEND_DEBUG_PORT},server=y,suspend=n |