12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 |
- oms.env=dev
- ####### Database properties(Configure according to the the environment) #######
- #spring.datasource.remote.hibernate.properties.hibernate.dialect=tech.powerjob.server.persistence.config.dialect.PowerJobPGDialect
- #spring.datasource.core.driver-class-name=org.postgresql.Driver
- #spring.datasource.core.jdbc-url=jdbc:postgresql://localhost:5432/km?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true
- #spring.datasource.core.username=postgres
- #spring.datasource.core.password=P3x0LG8jzyHRX59l
- ## DM???????
- #spring.datasource.remote.hibernate.properties.hibernate.dialect=org.hibernate.dialect.DmDialect
- #spring.datasource.core.driver-class-name=dm.jdbc.driver.DmDriver
- #spring.datasource.core.jdbc-url=jdbc:dm://127.0.0.1:5236?schema=km&useUnicode=true&characterEncoding=utf8&useSSL=true&autoReconnect=true&reWriteBatchedInserts=true
- #spring.datasource.core.username=SYSDBA
- #spring.datasource.core.password=SYSDBA123
- ## postgres
- spring.datasource.remote.hibernate.properties.hibernate.dialect=tech.powerjob.server.persistence.config.dialect.PowerJobPGDialect
- spring.datasource.core.driver-class-name=org.postgresql.Driver
- spring.datasource.core.jdbc-url=jdbc:postgresql://localhost:5432/taais?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true
- spring.datasource.core.username=postgres
- spring.datasource.core.password=P3x0LG8jzyHRX59l
- ## MySQL???????
- #spring.datasource.remote.hibernate.properties.hibernate.dialect=tech.powerjob.server.persistence.config.dialect.PowerJobPGDialect
- #spring.datasource.core.driver-class-name=com.mysql.cj.jdbc.Driver
- #spring.datasource.core.jdbc-url=jdbc:mysql://localhost:3306/km?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true
- #spring.datasource.core.username=root
- #spring.datasource.core.password=Root@369
- spring.datasource.core.maximum-pool-size=20
- spring.datasource.core.minimum-idle=5
- # ????
- # ?????
- spring.boot.admin.client.enabled=true
- # ?? Spring Boot Admin Server ??
- spring.boot.admin.client.url:http://localhost:9090/admin
- spring.boot.admin.client.instance.service-host-type=IP
- spring.boot.admin.client.username=km
- spring.boot.admin.client.password=123456
- ####### MongoDB properties(Non-core configuration properties) #######
- ####### delete mongodb config to disable mongodb #######
- oms.mongodb.enable=false
- #spring.data.mongodb.uri=mongodb+srv://zqq:No1Bug2Please3!@cluster0.wie54.gcp.mongodb.net/powerjob_daily?retryWrites=true&w=majority
- ####### Email properties(Non-core configuration properties) #######
- ####### Delete the following code to disable the mail #######
- #spring.mail.host=smtp.163.com
- #spring.mail.username=zqq@163.com
- #spring.mail.password=GOFZPNARMVKCGONV
- #spring.mail.properties.mail.smtp.auth=true
- #spring.mail.properties.mail.smtp.starttls.enable=true
- #spring.mail.properties.mail.smtp.starttls.required=true
- ####### DingTalk properties(Non-core configuration properties) #######
- ####### Delete the following code to disable the DingTalk #######
- #oms.alarm.ding.app-key=dingauqwkvxxnqskknfv
- #oms.alarm.ding.app-secret=XWrEPdAZMPgJeFtHuL0LH73LRj-74umF2_0BFcoXMfvnX0pCQvt0rpb1JOJU_HLl
- #oms.alarm.ding.agent-id=847044348
- ####### Resource cleaning properties #######
- oms.instanceinfo.retention=1
- oms.container.retention.local=1
- oms.container.retention.remote=-1
- ####### Cache properties #######
- oms.instance.metadata.cache.size=1024
- ####### Threshold in precise fetching server(0~100). 100 means full detection of server, in which #######
- ####### split-brain could be avoided while performance overhead would increase. #######
- oms.accurate.select.server.percentage=50
|