Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
YeeSafety3DRoot
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
station
YeeSafety3DRoot
Commits
d296cc2f
Commit
d296cc2f
authored
Mar 13, 2020
by
tangwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
数据库配置
parent
c571829b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
83 additions
and
80 deletions
+83
-80
application.properties
YeeSafety3DStart/src/main/resources/application.properties
+83
-80
No files found.
YeeSafety3DStart/src/main/resources/application.properties
View file @
d296cc2f
spring.application.name
=
AmosSafety3D
spring.application.name
=
AmosSafety3D
eureka.client.serviceUrl.defaultZone
=
http://172.16.10.72:10001/eureka/
eureka.client.serviceUrl.defaultZone
=
http://172.16.10.72:10001/eureka/
eureka.client.register-with-eureka
=
true
eureka.client.register-with-eureka
=
true
eureka.client.fetch-registry
=
true
eureka.client.fetch-registry
=
true
eureka.client.healthcheck.enabled
=
true
eureka.client.healthcheck.enabled
=
true
eureka.client.fetchRegistry
=
true
#eureka.instance.hostname = ${spring.cloud.client.ipAddress}
#eureka.instance.hostname = ${spring.cloud.client.ipAddress}
#eureka.instance.statusPageUrlPath = ${management.context-path}/info
#eureka.instance.statusPageUrlPath = ${management.context-path}/info
#eureka.instance.healthCheckUrlPath = ${management.context-path}/health
#eureka.instance.healthCheckUrlPath = ${management.context-path}/health
#eureka.instance.preferIpAddress = true
#eureka.instance.preferIpAddress = true
#eureka.instance.instance-id = ${spring.cloud.client.ipAddress}:${server.port}
#eureka.instance.instance-id = ${spring.cloud.client.ipAddress}:${server.port}
#eureka.instance.lease-expiration-duration-in-seconds = 10
#eureka.instance.lease-expiration-duration-in-seconds = 10
#eureka.instance.lease-renewal-interval-in-seconds = 5
#eureka.instance.lease-renewal-interval-in-seconds = 5
server.port
=
9000
server.port
=
9000
#redis
#redis
spring.redis.database
=
5
spring.redis.database
=
5
spring.redis.host
=
127.0.0.1
spring.redis.host
=
127.0.0.1
spring.redis.port
=
6379
spring.redis.port
=
6379
spring.redis.password
=
spring.redis.password
=
spring.redis.jedis.pool.max-active
=
200
spring.redis.jedis.pool.max-active=200
spring.redis.jedis.pool.max-wait
=
-1
spring.redis.jedis.pool.max-wait
=
-1
spring.redis.jedis.pool.max-idle
=
10
spring.redis.jedis.pool.max-idle
=
10
spring.redis.jedis.pool.min-idle
=
0
spring.redis.jedis.pool.min-idle
=
0
spring.redis.timeout
=
1000
spring.redis.timeout
=
1000
elecfire_converter_statton_patrol
=
YEEAMOSPATROL-MY99
elecfire_converter_statton_patrol
=
YEEAMOSPATROL-MY99
spring.jackson.date-format
=
yyyy-MM-dd HH:mm:ss
spring.jackson.date-format
=
yyyy-MM-dd HH:mm:ss
#DB properties:
#DB properties:
spring.datasource.url
=
jdbc:mysql://172.16.11.33:3306/fire_auto_system?useSSL=false&&allowMultiQueries=true
spring.datasource.url
=
jdbc:mysql://172.16.11.33:3306/fire_auto_system?serverTimezone=UTC&&useSSL=false&&allowMultiQueries=true&serverTimezone=GMT&characterEncoding=utf8
spring.datasource.username
=
root
spring.datasource.username
=
root
spring.datasource.password
=
admin_1234
spring.datasource.password
=
admin_1234
# HikariCP settings
# HikariCP settings
# spring.datasource.hikari.*
# spring.datasource.hikari.*
# contection life time (ms)
# contection life time (ms)
spring.datasource.hikari.maxLifetime
=
1765000
spring.datasource.hikari.maxLifetime
=
1765000
#((core_count*2)+effective_spindle_count
#((core_count*2)+effective_spindle_count
spring.datasource.hikari.maximum-pool-size
=
10
spring.datasource.hikari.maximum-pool-size
=
10
# Keep the connection alive if idle for a long time (needed in production)
# Keep the connection alive if idle for a long time (needed in production)
spring.datasource.testWhileIdle
=
true
spring.datasource.testWhileIdle
=
true
spring.datasource.validationQuery
=
SELECT 1
spring.datasource.validationQuery
=
SELECT 1
#JPA Configuration:
#JPA Configuration:
# Show or not log for each sql query
# Show or not log for each sql query
spring.jpa.show-sql
=
true
spring.jpa.show-sql
=
true
# Hibernate ddl auto (create, create-drop, update): with "update" the database
# Hibernate ddl auto (create, create-drop, update): with "update" the database
# schema will be automatically updated accordingly to java entities found in
# schema will be automatically updated accordingly to java entities found in
# the project
# the project
spring.jpa.hibernate.ddl-auto
=
none
spring.jpa.hibernate.ddl-auto
=
none
# Naming strategy
# Naming strategy
#spring.jpa.hibernate.naming.physical-strategy=org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl
#spring.jpa.hibernate.naming.physical-strategy=org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl
spring.jpa.hibernate.naming-strategy
=
org.hibernate.cfg.ImprovedNamingStrategy
spring.jpa.hibernate.naming-strategy
=
org.hibernate.cfg.ImprovedNamingStrategy
# Allows Hibernate to generate SQL optimized for a particular DBMS
# Allows Hibernate to generate SQL optimized for a particular DBMS
spring.jpa.database-platform
=
org.hibernate.dialect.MySQLDialect
spring.jpa.database-platform
=
org.hibernate.dialect.MySQLDialect
#mybatis mapper file
#mybatis mapper file
mybatis.mapper-locations
=
classpath:db/mapper/*.xml
mybatis.mapper-locations
=
classpath:db/mapper/*.xml
# mybatis entity package
# mybatis entity package
mybatis.type-aliases-package
=
com.yeejoin.amos.op.business.entity.mybatis
mybatis.type-aliases-package
=
com.yeejoin.amos.op.business.entity.mybatis
#liquibase
#liquibase
spring.liquibase.change-log
=
classpath:/db/changelog/changelog-master.xml
spring.liquibase.change-log
=
classpath:/db/changelog/changelog-master.xml
params.remoteurl
=
http://127.0.0.1:8800/
spring.liquibase.enabled
=
false
params.time
=
5
params.period
=
1800
params.remoteurl
=
http://127.0.0.1:8800/
params.time
=
5
#Activiti
params.period
=
1800
spring.activiti.check-process-definitions
=
false
spring.activiti.process-definition-location-suffixes
=
**.bpmn20.xml", **.bpmn,**.drl
#Activiti
spring.activiti.check-process-definitions
=
false
spring.aop.auto
=
true
spring.activiti.process-definition-location-suffixes
=
**.bpmn20.xml", **.bpmn,**.drl
# xss security filter\uFF1ARequestBodyDecode\u3001RequestGetDecode\u3001XssSecurity\u3001SqlInputSecurity
spring.aop.auto
=
true
params.xssSecurity
=
false
#
# xss security filter\uFF1ARequestBodyDecode\u3001RequestGetDecode\u3001XssSecurity\u3001SqlInputSecurity
params.xssSecurity
=
false
#
params.remotePatrolUrl
=
http://127.0.0.1:8081/
params.remotePatrolUrl
=
http://127.0.0.1:8081/
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment