feat: initiate mongo replset by default
Signed-off-by: Zomatree <me@zomatree.live>
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
[database]
|
||||
mongodb = "mongodb://localhost"
|
||||
mongodb = "mongodb://localhost?directConnection=true&replicaSet=rs0"
|
||||
redis = "redis://localhost/"
|
||||
|
||||
[rabbit]
|
||||
|
||||
@@ -4,7 +4,7 @@ disable_events_dont_use = false
|
||||
[database]
|
||||
# MongoDB connection URL
|
||||
# Defaults to the container name specified in self-hosted
|
||||
mongodb = "mongodb://database"
|
||||
mongodb = "mongodb://database?directConnection=true&replicaSet=rs0"
|
||||
# Redis connection URL
|
||||
# Defaults to the container name specified in self-hosted
|
||||
redis = "redis://redis/"
|
||||
|
||||
Reference in New Issue
Block a user