Skip to content

Commit

Permalink
增加application.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
liu-roy committed Nov 23, 2024
1 parent cfefbc8 commit 9feb0fc
Show file tree
Hide file tree
Showing 2 changed files with 66 additions and 1 deletion.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ dependency-reduced-pom.xml
*.rdb
log/
banner.txt
application.yml
rebel.xml
.rebel.xml.bak
*.trc
Expand Down
66 changes: 66 additions & 0 deletions goodluck-checkin-service/src/main/resources/application.yml
Original file line number Diff line number Diff line change
@@ -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: [email protected]
password: Liu7454049

0 comments on commit 9feb0fc

Please sign in to comment.