浏览代码

add devlocal to crss_audit

Karen Kho 8 年之前
父节点
当前提交
25fcca3b93
共有 1 个文件被更改,包括 37 次插入0 次删除
  1. 37 0
      crss-audit/application-devlocal.yml

+ 37 - 0
crss-audit/application-devlocal.yml

@@ -0,0 +1,37 @@
+spring:
+  crss-audit:
+    datasource:
+      jdbcUrl: jdbc:postgresql://localhost:5432/crss_audit
+      username: crss_audit
+      password: crss_audit
+      driverClassName: org.postgresql.Driver
+      maxPoolSize: 20
+      connectionTimeout: 10000
+      test-on-borrow: true
+      validation-query: SELECT 1
+  jpa:
+    open-in-view: false
+    properties:
+      hibernate:
+        dialect: org.hibernate.dialect.PostgreSQLDialect
+        ddl-auto: none
+        hbm2ddl:
+          auto: none
+  redis:
+    host: localhost
+    port: 6379
+
+server:
+  port: 9094
+  undertow:
+    accesslog:
+      dir: target
+      enabled: true
+      pattern: combined
+    compression:
+      enabled: true
+      min-response-size: 1
+
+logging:
+  level:
+    com.pemc: debug