Skip to content

Commit ce06146

Browse files
committed
chore: configure MongoDB connection and database in microprofile-config.properties
1 parent c2d05ec commit ce06146

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ server.host=0.0.0.0
55
# Change the following to true to enable the optional MicroProfile Metrics REST.request metrics
66
metrics.rest-request.enabled=false
77

8-
# Application properties. This is the default greeting
9-
app.greeting=Hello
10-
11-
8+
# configure the MongoDB client for a replica set of two nodes
9+
jnosql.mongodb.url=mongodb://localhost:27017
10+
# mandatory define the database name
11+
jnosql.document.database=ecommerce

0 commit comments

Comments
 (0)