Skip to content

Commit

Permalink
项目配置文件提交
Browse files Browse the repository at this point in the history
  • Loading branch information
laijh committed Mar 21, 2021
1 parent ca6938d commit 47cd067
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.idea/
*.iml
target/
target/
logs/
build/
31 changes: 31 additions & 0 deletions src/main/resources/application.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
#debug: true

server:
port: 5000
servlet:
context-path: /car_rental

spring:
datasource:
driver-class-name: com.p6spy.engine.spy.P6SpyDriver
url: jdbc:p6spy:mysql://***:3306/car_rental?characterEncoding=utf8&useSSL=true
username: root
password: ***
redis:
host: ***
password: ***
web:
resources:
static-locations: classpath:/webapp/
mvc:
static-path-pattern: /resources/**

token:
expire-time: 7200

#management:
# endpoints:
# web:
# exposure:
# include: '*'

0 comments on commit 47cd067

Please sign in to comment.