Skip to content

Commit a5755a2

Browse files
committed
chore: include application properties to mongodb
Signed-off-by: Otavio Santana <[email protected]>
1 parent f9282cd commit a5755a2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/main/resources/META-INF/microprofile-config.properties

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,7 @@ metrics.rest-request.enabled=false
99
app.greeting=Hello
1010

1111

12+
# configure the MongoDB client for a replica set of two nodes
13+
jnosql.mongodb.url=mongodb://localhost:27017
14+
# mandatory define the database name
15+
jnosql.document.database = fruits

0 commit comments

Comments
 (0)