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