Browse Source

运营服务

yingp 7 years ago
parent
commit
d2ca14eefe

+ 1 - 1
applications/operation/operation-auth-server/src/main/resources/config/application-docker-prod.yml

@@ -1,6 +1,6 @@
 eureka:
   instance:
-    hostname: saas-operaion-auth-server
+    hostname: saas-operation-auth-server
     prefer-ip-address: false
   client:
     serviceUrl:

+ 10 - 0
applications/operation/operation-auth-server/src/main/resources/config/application-docker.yml

@@ -0,0 +1,10 @@
+eureka:
+  instance:
+    hostname: saas-operation-auth-server
+    prefer-ip-address: false
+  client:
+    serviceUrl:
+      defaultZone: http://${spring.security.user.name}:${spring.security.user.password}@saas-eureka-server:8500/eureka/
+spring:
+  rabbitmq:
+    virtual-host: docker

+ 9 - 0
applications/operation/operation-auth-server/src/main/resources/logback-spring.xml

@@ -88,6 +88,15 @@
         </root>
     </springProfile>
 
+    <springProfile name="docker">
+        <logger name="org.springframework" level="WARN"/>
+        <logger name="com.usoftchina.saas" level="WARN"/>
+        <root level="WARN">
+            <appender-ref ref="CONSOLE_APPENDER"/>
+            <appender-ref ref="JSON_APPENDER"/>
+        </root>
+    </springProfile>
+
     <springProfile name="docker-dev">
         <root level="INFO">
             <appender-ref ref="CONSOLE_APPENDER"/>