From fc9d5b419aaedb24852dea0dca3bfd7ea78ffbad Mon Sep 17 00:00:00 2001 From: Debdut Chakraborty Date: Mon, 11 Nov 2024 14:59:12 +0530 Subject: [PATCH] mongosh install --- snap/snapcraft.yaml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index 192c3c2..eb12202 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -49,7 +49,12 @@ apps: - network-bind mongo: - command: bin/mongosh + command: usr/bin/mongosh + environment: {LC_ALL: C} + plugs: [network] + + mongosh: + command: usr/bin/mongosh environment: {LC_ALL: C} plugs: [network] @@ -121,6 +126,11 @@ parts: - bin/mongodump - bin/mongorestore + mongosh: + plugin: dump + source: https://downloads.mongodb.com/compass/mongodb-mongosh_2.3.3_amd64.deb + source-type: deb + node: plugin: dump source: