LAPTOP-FO2T5SIU\35838 4 일 전
부모
커밋
ddb690f622
2개의 변경된 파일16개의 추가작업 그리고 1개의 파일을 삭제
  1. 9 0
      pom.xml
  2. 7 1
      pro-main/src/main/resources/application.yml

+ 9 - 0
pom.xml

@@ -335,6 +335,15 @@
             <groupId>org.springframework.boot</groupId>
             <artifactId>spring-boot-starter-web</artifactId>
         </dependency>
+        <dependency>
+            <groupId>org.springframework.boot</groupId>
+            <artifactId>spring-boot-starter-actuator</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>org.springframework.boot</groupId>
+            <artifactId>spring-boot-starter-security</artifactId>
+        </dependency>
+
         <!-- WebSocket配置开始-->
         <dependency>
             <groupId>org.springframework</groupId>

+ 7 - 1
pro-main/src/main/resources/application.yml

@@ -85,4 +85,10 @@ swagger:
   basic:
     enable: true
     username: root
-    password: test
+    password: test
+
+management:
+  endpoints:
+    enabled-by-default: false
+  server:
+    port: -1