1
1
# set H2 in file mode as the production DB
2
2
spring.jpa.database =H2
3
-
4
3
spring.datasource.driverClassName =org.h2.Driver
5
- spring.datasource.url =jdbc:h2:file:~/.h2/bootservice ;AUTO_SERVER=TRUE;DB_CLOSE_DELAY=-1;
4
+ spring.datasource.url =jdbc:h2:file:~/.h2/bootapi ;AUTO_SERVER=TRUE;DB_CLOSE_DELAY=-1;
6
5
spring.datasource.username =sa
7
6
spring.datasource.password =
8
7
9
8
# disable automatic initialize for embedded H2
9
+ spring.jpa.hibernate.ddl-auto =none
10
10
spring.datasource.initialize =false
11
11
12
- # connection pool
13
- spring.datasource.max-idle =10
12
+ # connection pool settings
13
+ spring.datasource.initial-size =10
14
14
spring.datasource.max-active =100
15
+ spring.datasource.min-idle =8
16
+ spring.datasource.max-idle =8
17
+ # spring.datasource.time-between-eviction-runs-millis=
18
+ # spring.datasource.min-evictable-idle-time-millis=
19
+ # spring.datasource.max-wait=
15
20
16
- # logging
17
- logging.file =/var/log/boot-api.log
18
- logging.level.org.hibernate =WARN
21
+ # logging settings
22
+ logging.file =/var/log/springside/ boot-api.log
23
+ # logging.level.org.hibernate=WARN
19
24
20
- # tomcat settings
21
- # server.contextPath=/
22
- # server.tomcat.maxThreads=200
25
+ # optional tomcat settings
26
+ # server.contextPath=/ by default
27
+ # server.tomcat.maxThreads=200 by default
28
+ # server.tomcat.compression=on(off by default)
29
+ # server.tomcat.compressableMimeTypes=application/json,application/xml (text/html, text/xml, and text/plain by default)
0 commit comments