starter e config
This commit is contained in:
parent
e64b19bddf
commit
d89f456247
|
@ -7,7 +7,7 @@
|
|||
{
|
||||
"type": "java",
|
||||
"name": "Debug (Attach)",
|
||||
"projectName": "identity-manager",
|
||||
"projectName": "helloword",
|
||||
"request": "attach",
|
||||
"hostName": "localhost",
|
||||
"port": 5001
|
||||
|
|
|
@ -4,6 +4,5 @@ NAME=smartgears-helloworld
|
|||
PORT=8081
|
||||
DEBUG_PORT=5001
|
||||
|
||||
docker build -t $NAME.
|
||||
docker run -p $PORT:8080 --name $NAME $NAME
|
||||
|
||||
docker build -t $NAME .
|
||||
docker run -p $PORT:8080 $NAME
|
|
@ -5,4 +5,5 @@ PORT=8081
|
|||
DEBUG_PORT=5001
|
||||
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue