From 2c8685887719cc5e3b033890732c522106eafdb1 Mon Sep 17 00:00:00 2001 From: "Navy.gif" Date: Mon, 6 Feb 2023 15:13:41 +0200 Subject: [PATCH] mongo URI to example.env --- example.env | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/example.env b/example.env index 6cd298b..ef94775 100644 --- a/example.env +++ b/example.env @@ -6,7 +6,9 @@ MARIA_USER= MARIA_PASS= MARIA_DB=framework-proto -MONGO_HOST=localhost +# MONGO_URI will be used if given +MONGO_URI=mongodb://127.0.0.1:27017/auth +MONGO_HOST=127.0.0.1 MONGO_PORT=27017 MONGO_USER= MONGO_PASS= @@ -14,7 +16,8 @@ MONGO_DB=framework-proto MONGO_AUTH_DB=auth # temp while figuring out a better solution for non-memory mongo cache -MONGO_MEMORY_HOST=localhost +MONGO_MEMORY_URI=mongodb://127.0.0.1:27018/auth +MONGO_MEMORY_HOST=127.0.0.1 MONGO_MEMORY_PORT=27018 MONGO_MEMORY_USER= MONGO_MEMORY_PASS=