Skip to content

Commit f0088ab

Browse files
committed
added applications.yml
1 parent fb72ea4 commit f0088ab

File tree

2 files changed

+23
-0
lines changed

2 files changed

+23
-0
lines changed
File renamed without changes.

src/main/resources/application.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
spring:
2+
datasource:
3+
url: jdbc:mysql://blogapi-db:3306/blogapi?useSSL=false&serverTimezone=UTC&allowPublicKeyRetrieval=true
4+
username: root
5+
password: root
6+
jpa:
7+
hibernate:
8+
ddl-auto: none
9+
show-sql: true
10+
properties:
11+
hibernate:
12+
dialect: org.hibernate.dialect.MySQL5Dialect
13+
jackson:
14+
serialization:
15+
WRITE_DATES_AS_TIMESTAMPS: false
16+
time-zone: UTC
17+
18+
app:
19+
jwtSecret: secret
20+
jwtExpirationInMs: 3600000
21+
22+
cors:
23+
allowedOrings: '*'

0 commit comments

Comments
 (0)