mirror of
https://github.com/OtusTeam/Spring.git
synced 2026-06-20 11:14:34 +00:00
mongo example updated
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
<parent>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-parent</artifactId>
|
||||
<version>2.5.2</version>
|
||||
<version>2.5.5</version>
|
||||
<relativePath/> <!-- lookup parent from repository -->
|
||||
</parent>
|
||||
|
||||
|
||||
@@ -1,9 +1,20 @@
|
||||
spring:
|
||||
data:
|
||||
mongodb:
|
||||
uri: mongodb://localhost
|
||||
host: localhost
|
||||
port: 27017
|
||||
database: awesomeMongo
|
||||
|
||||
mongock:
|
||||
runner-type: "ApplicationRunner" # default
|
||||
#runner-type: "InitializingBean"
|
||||
change-logs-scan-package:
|
||||
- ru.otus.example.mongodbdemo.changelogs
|
||||
mongo-db:
|
||||
write-concern:
|
||||
journal: false
|
||||
read-concern: local
|
||||
|
||||
logging:
|
||||
level:
|
||||
root: ERROR
|
||||
Reference in New Issue
Block a user