Enable remote debugging of the Spring Boot Docker container

This commit is contained in:
Andreas Svanberg 2024-06-13 16:09:20 +02:00
parent 10ecc4e1ee
commit c2557676ca

@ -12,10 +12,12 @@ services:
- OAUTH2_AUTH_URI=http://localhost:59751/authorize
- OAUTH2_TOKEN_URI=http://whisper-api-oauth2:8080/exchange
- OAUTH2_USER_INFO_URI=http://whisper-api-oauth2:8080/verify
- JAVA_OPTS=-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:5005
networks:
- whisper-network
ports:
- '8080:8080'
- '5005:5005'
depends_on:
- whisper-api-db
- whisper-api-oauth2