-
Notifications
You must be signed in to change notification settings - Fork 0
/
application.yml
45 lines (44 loc) · 964 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
---
micronaut:
application:
name: data-access
router:
static-resources:
default:
enabled: true
mapping: /**
paths: classpath:public
swagger:
paths: classpath:META-INF/swagger
mapping: /swagger/**
# security:
# enabled: true
# endpoints:
# login:
# enabled: true
# oauth:
# enabled: true
# token:
# jwt:
# enabled: true
# signatures:
# secret:
# generator:
# secret: hsLOPhfunrjandirjsnidmfkJNAJDnew
datasources:
default:
url: ${JDBC_URL:`jdbc:h2:mem:default;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE`}
username: ${JDBC_USER:sa}
password: ${JDBC_PASSWORD:""}
driverClassName: ${JDBC_DRIVER:org.h2.Driver}
#end::datasource[]
#tag::jpa[]
jpa:
default:
packages-to-scan:
- 'data.access' # <1>
properties:
hibernate:
hbm2ddl:
auto: update
show_sql: true