-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathapplication.yml
More file actions
37 lines (31 loc) · 755 Bytes
/
application.yml
File metadata and controls
37 lines (31 loc) · 755 Bytes
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
server:
port: ${SERVER_PORT:9000}
spring:
application:
name: PROJECT-NAME
datasource:
url: ${DATASOURCE_URL}
username: ${DATASOURCE_USERNAME}
password: ${DATASOURCE_USERNAME}
driver-class-name: ${DRIVER_CLASS_NAME:com.mysql.cj.jdbc.Driver}
sql-script-encoding: UTF-8
jpa:
properties:
hibernate:
show_sql: false
format_sql: true
main.allow-bean-definition-overriding: true
jackson:
default-property-inclusion: NON_NULL
---
spring:
profiles: dev
datasource:
url: jdbc:mysql://localhost:3306/db_springboot?useTimezone=true&serverTimezone=UTC
username: root
password: root
jpa:
properties:
hibernate:
show_sql: false
format_sql: true