summaryrefslogtreecommitdiff
path: root/data/init-mongodb.js
diff options
context:
space:
mode:
Diffstat (limited to 'data/init-mongodb.js')
-rw-r--r--data/init-mongodb.js8
1 files changed, 3 insertions, 5 deletions
diff --git a/data/init-mongodb.js b/data/init-mongodb.js
index 6057d84..054dfd1 100644
--- a/data/init-mongodb.js
+++ b/data/init-mongodb.js
@@ -1,8 +1,3 @@
-
-// To help improve our products, anonymous usage data is collected and sent to MongoDB periodically (https://www.mongodb.com/legal/privacy-policy).
-// You can opt-out by running the disableTelemetry() command.
-disableTelemetry()
-
// Create the DB by inserting some data
db.REPLACE_COLLECTION.insertOne({init_key: "init_data"})
@@ -23,6 +18,9 @@ db.createUser(
// Delete the init data
db.REPLACE_COLLECTION.deleteOne({init_key: "init_data"})
+// Add healthcheck
+db.healthcheck.insertOne({healthcheck: "ok"})
+
// Disable the ad about monitoring
db.disableFreeMonitoring()