You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ro...@apache.org on 2022/08/03 15:55:07 UTC

[sling-org-apache-sling-starter] branch master updated: Update the default MongoDB port (#72)

This is an automated email from the ASF dual-hosted git repository.

rombert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-starter.git


The following commit(s) were added to refs/heads/master by this push:
     new 21dcb90  Update the default MongoDB port (#72)
21dcb90 is described below

commit 21dcb90e16dbf1ba2155890c5fce98340b303158
Author: Maciej Laskowski <19...@users.noreply.github.com>
AuthorDate: Wed Aug 3 17:55:03 2022 +0200

    Update the default MongoDB port (#72)
    
    The default port for MongoDB is 27017 (https://www.mongodb.com/docs/manual/reference/default-mongodb-port/).
---
 src/main/features/oak/persistence/oak_persistence_mongods.json | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/features/oak/persistence/oak_persistence_mongods.json b/src/main/features/oak/persistence/oak_persistence_mongods.json
index a3a4485..2c90cb3 100644
--- a/src/main/features/oak/persistence/oak_persistence_mongods.json
+++ b/src/main/features/oak/persistence/oak_persistence_mongods.json
@@ -12,7 +12,7 @@
     "configurations":{
         "org.apache.jackrabbit.oak.plugins.document.DocumentNodeStoreService":{
             "db":"sling",
-            "mongouri":"mongodb://$[env:MONGODB_HOST;default=localhost]:$[env:MONGODB_PORT;type=Integer;default=27107]"
+            "mongouri":"mongodb://$[env:MONGODB_HOST;default=localhost]:$[env:MONGODB_PORT;type=Integer;default=27017]"
          }
     }
 }