summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author刘永强 <[email protected]>2020-08-24 15:35:42 +0800
committer刘永强 <[email protected]>2020-08-24 15:35:42 +0800
commit42bf101e913619c921de4ffcf07a9cc011eb88e5 (patch)
tree82bf54186606f3de22ff1fef2816721c17916619
parent1295c2a3105bb3b509a4a9ec2e3b64dbb4a750cf (diff)
update config
-rw-r--r--galaxy-eureka-server/src/main/resources/application-dev.properties7
-rw-r--r--galaxy-eureka-server/src/main/resources/application-prod.properties7
-rw-r--r--galaxy-eureka-server/src/main/resources/application-test.properties7
-rw-r--r--galaxy-eureka-server/src/main/resources/application.properties3
4 files changed, 21 insertions, 3 deletions
diff --git a/galaxy-eureka-server/src/main/resources/application-dev.properties b/galaxy-eureka-server/src/main/resources/application-dev.properties
index ed561f7..f8afbd0 100644
--- a/galaxy-eureka-server/src/main/resources/application-dev.properties
+++ b/galaxy-eureka-server/src/main/resources/application-dev.properties
@@ -9,6 +9,11 @@ eureka.client.fetchRegistry=false
eureka.client.serviceUrl.defaultZone=http://${eureka.instance.hostname}:${server.port}/eureka/
#���ұ���ģʽ
eureka.server.enable-self-preservation=false
-#��ȫ����
+#��¶���ж˵�
+management.endpoints.web.exposure.include=*
+#��ϸ��Ӧ�ý�����Ϣ
+management.endpoint.health.show-details=always
+#��ȫ����-�û���
spring.security.user.name=admin
+#��ȫ����-����
spring.security.user.password=admin \ No newline at end of file
diff --git a/galaxy-eureka-server/src/main/resources/application-prod.properties b/galaxy-eureka-server/src/main/resources/application-prod.properties
index ed561f7..f8afbd0 100644
--- a/galaxy-eureka-server/src/main/resources/application-prod.properties
+++ b/galaxy-eureka-server/src/main/resources/application-prod.properties
@@ -9,6 +9,11 @@ eureka.client.fetchRegistry=false
eureka.client.serviceUrl.defaultZone=http://${eureka.instance.hostname}:${server.port}/eureka/
#���ұ���ģʽ
eureka.server.enable-self-preservation=false
-#��ȫ����
+#��¶���ж˵�
+management.endpoints.web.exposure.include=*
+#��ϸ��Ӧ�ý�����Ϣ
+management.endpoint.health.show-details=always
+#��ȫ����-�û���
spring.security.user.name=admin
+#��ȫ����-����
spring.security.user.password=admin \ No newline at end of file
diff --git a/galaxy-eureka-server/src/main/resources/application-test.properties b/galaxy-eureka-server/src/main/resources/application-test.properties
index ed561f7..f8afbd0 100644
--- a/galaxy-eureka-server/src/main/resources/application-test.properties
+++ b/galaxy-eureka-server/src/main/resources/application-test.properties
@@ -9,6 +9,11 @@ eureka.client.fetchRegistry=false
eureka.client.serviceUrl.defaultZone=http://${eureka.instance.hostname}:${server.port}/eureka/
#���ұ���ģʽ
eureka.server.enable-self-preservation=false
-#��ȫ����
+#��¶���ж˵�
+management.endpoints.web.exposure.include=*
+#��ϸ��Ӧ�ý�����Ϣ
+management.endpoint.health.show-details=always
+#��ȫ����-�û���
spring.security.user.name=admin
+#��ȫ����-����
spring.security.user.password=admin \ No newline at end of file
diff --git a/galaxy-eureka-server/src/main/resources/application.properties b/galaxy-eureka-server/src/main/resources/application.properties
index 1199819..2664b33 100644
--- a/galaxy-eureka-server/src/main/resources/application.properties
+++ b/galaxy-eureka-server/src/main/resources/application.properties
@@ -1,3 +1,6 @@
+#��ǰ����Ļ�������
spring.profiles.active=dev
+#Ӧ����������
spring.application.name=galaxy-eureka-server
+#��־�����ļ�·��
logging.config=classpath:logback-spring.xml \ No newline at end of file