demo01/src/main/resources/application.yml

77 lines
2.2 KiB
YAML
Raw Normal View History

2023-10-08 19:49:56 +08:00
management:
endpoint:
health:
show-details: always
endpoints:
web:
exposure:
include: '*'
server:
2023-12-18 06:41:44 +08:00
port: 7099
2023-10-08 19:49:56 +08:00
servlet:
context-path: /demo01
encoding:
charset: UTF-8
enabled: true
force: true
force-request: true
force-response: true
session:
cookie:
http-only: true
secure: false
timeout: 300
tracking-modes: COOKIE
shutdown: graceful
ssl:
enabled: false
spring:
application:
name: demo01
2023-10-24 19:42:29 +08:00
cloud:
2023-11-27 10:55:54 +08:00
compatibility-verifier:
enabled: false
2023-10-24 19:42:29 +08:00
consul:
2023-12-18 06:41:44 +08:00
host: localhost
2023-10-24 19:42:29 +08:00
port: 8500
discovery:
register-health-check: true
healthCheckPath: ${server.servlet.context-path}/actuator/health
healthCheckInterval: 15s
metadata:
metrics: ${server.servlet.context-path}/actuator/prometheus
springboot: true
isv: risesoft
tags: test,y9
2023-10-08 19:49:56 +08:00
datasource:
driverClassName: com.mysql.cj.jdbc.Driver
2023-12-18 06:41:44 +08:00
url: jdbc:mysql://localhost:3306/y9_public?serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true&useUnicode=true&characterEncoding=utf-8&rewriteBatchedStatements=true&useCompression=true&useSSL=false&allowPublicKeyRetrieval=true
2023-10-08 19:49:56 +08:00
username: root
2023-10-17 19:48:34 +08:00
password: '12345678'
2023-10-24 19:42:29 +08:00
hikari:
2023-10-08 19:49:56 +08:00
maximumPoolSize: 20
minimumIdle: 1
jpa:
properties:
hibernate:
dialect: org.hibernate.dialect.MySQL8Dialect
hbm2ddl:
auto: update
jdbc:
batchSize: 100
showSql: true
generate-ddl: true
open-in-view: false
main:
allow-bean-definition-overriding: true
allow-circular-references: false
docker:
compose:
2023-12-18 06:41:44 +08:00
enabled: false
2023-11-27 10:04:14 +08:00
file: compose-dev.yml
2023-11-27 10:55:54 +08:00
readiness:
#wait: NEVER
wait: ONLY_IF_STARTED
#wait: ALWAYS