starter e config

This commit is contained in:
Alfredo Oliviero 2024-02-27 16:07:27 +01:00
parent e64b19bddf
commit d89f456247
3 changed files with 5 additions and 5 deletions

2
.vscode/launch.json vendored
View File

@ -7,7 +7,7 @@
{ {
"type": "java", "type": "java",
"name": "Debug (Attach)", "name": "Debug (Attach)",
"projectName": "identity-manager", "projectName": "helloword",
"request": "attach", "request": "attach",
"hostName": "localhost", "hostName": "localhost",
"port": 5001 "port": 5001

View File

@ -4,6 +4,5 @@ NAME=smartgears-helloworld
PORT=8081 PORT=8081
DEBUG_PORT=5001 DEBUG_PORT=5001
docker build -t $NAME. docker build -t $NAME .
docker run -p $PORT:8080 --name $NAME $NAME docker run -p $PORT:8080 $NAME

View File

@ -5,4 +5,5 @@ PORT=8081
DEBUG_PORT=5001 DEBUG_PORT=5001
docker build -t $NAME . docker build -t $NAME .
docker run -p $PORT:8080 -p $DEBUG_PORT:5005 -e JAVA_TOOL_OPTIONS="-agentlib:jdwp=transport=dt_socket,address=*:5005,server=y,suspend=y" $NAME docker run -p $PORT:8080 -p $DEBUG_PORT:5005 -e JAVA_TOOL_OPTIONS="-agentlib:jdwp=transport=dt_socket,address=*:5005,server=y,suspend=y" $NAME