-
Notifications
You must be signed in to change notification settings - Fork 0
/
application.yml
62 lines (52 loc) · 954 Bytes
/
application.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
spring:
profiles:
default: local
web:
resources:
add-mappings: 'false'
mvc:
throw-exception-if-no-handler-found: 'true'
datasource:
url: jdbc:mariadb://(DB_IP):3306/(DB)
driver-class-name: org.mariadb.jdbc.Driver
username: (DB_NAME)
password: (DB_PASSWORD)
jpa:
hibernate:
ddl-auto: create
jwt:
key: (jwtKey)
live:
access-expiration-time: 432000
refresh-expiration-time: 1209600000
data:
redis:
host: (REDIS_IP)
port: (REDIS_PORT)
logging:
level:
org.springframework.data.redis: DEBUG
---
spring:
config:
activate:
on-profile: local
file:
upload-dir: (UPLOAD_DIR)
---
spring:
config:
activate:
on-profile: test
jpa:
hibernate:
ddl-auto: create
show-sql: true
properties:
hibernate:
format_sql: true
sql:
init:
mode: never
file:
upload-dir: (UPLOAD_DIR)