From 9feb0fc91b9a48d998a0fc18a983ab0f90452475 Mon Sep 17 00:00:00 2001 From: liu-roy Date: Sat, 23 Nov 2024 23:32:24 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0application.yml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 1 - .../src/main/resources/application.yml | 66 +++++++++++++++++++ 2 files changed, 66 insertions(+), 1 deletion(-) create mode 100644 goodluck-checkin-service/src/main/resources/application.yml diff --git a/.gitignore b/.gitignore index a6cbb74..5a8138d 100644 --- a/.gitignore +++ b/.gitignore @@ -26,7 +26,6 @@ dependency-reduced-pom.xml *.rdb log/ banner.txt -application.yml rebel.xml .rebel.xml.bak *.trc diff --git a/goodluck-checkin-service/src/main/resources/application.yml b/goodluck-checkin-service/src/main/resources/application.yml new file mode 100644 index 0000000..f365890 --- /dev/null +++ b/goodluck-checkin-service/src/main/resources/application.yml @@ -0,0 +1,66 @@ +server: + port: 8080 + servlet: + context-path: / + +spring: + jackson: + date-format: yyyy-MM-dd HH:mm:ss + time-zone: GMT+8 + application: + name: goodluck-checkin-service + cloud: + nacos: + discovery: + enabled: false + metadata: + management: + context-path: /${server.servlet.context-path}/actuator + server-addr: nacos-dev.goodluck.net:80 + + + +management: + endpoint: + health: + show-details: always + endpoints: + web: + exposure: + include: info,health,prometheus + metrics: + tags: + application: ${spring.application.name} + + +logging: + level: + root: info + com.netflix.config: debug + config: classpath:logback-custom.xml + + +#mybatis-plus: +# mapper-locations: classpath:/mapper/*Mapper.xml +# #实体扫描,多个package用逗号或者分号分隔 +# typeAliasesPackage: com.goodluck.checkin.domain.*.model +# global-config: +# db-config: +# id-type: auto +# logic-delete-field: is_delete # set deleted logicDelete +# logic-delete-value: 1 # deleted +# logic-not-delete-value: 0 # exist +# banner: false + + +swagger: + enabled: true + scan-package: com.goodluck.checkin + + +bugutv: + username: goodluck0223 + password: Liu7454049 +shaoshuren: + username: 28704448@qq.com + password: Liu7454049