Commit 357658fc by 刘鑫

user模块远程调试端口

1 parent 97ab6586
......@@ -146,6 +146,7 @@ services:
container_name: project-user
ports:
- ${USER_PORT}:${USER_PORT}
- "62000:5005"
depends_on:
- nacos
# - postgres
......
......@@ -7,5 +7,6 @@ ADD ./project-user/target/project-user-*.jar /app.jar
RUN sh -c 'touch /app.jar'
EXPOSE 8000
EXPOSE 5005
ENTRYPOINT ["java", "-jar","/app.jar"]
\ No newline at end of file
ENTRYPOINT ["java", "-jar","-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005","/app.jar"]
\ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!