Update Prepping MongoDB for use with Canopy

rainbow napkin 2025-05-21 02:53:18 +00:00
parent 13b9445b71
commit 1fd08d27da

@ -3,6 +3,7 @@ title: Prepping MongoDB for use with Canopy
--- ---
## Step-by-step procedure for prepping MongoDB for use with Canopy: ## Step-by-step procedure for prepping MongoDB for use with Canopy:
<sup>MongoDB, while gratis and open-source, is not entirely FLOSS. If you're hell bent on using software with a hard FLOSS license, you're probably better off [FerretDB](ferretdb-debian)<sup><br> <sup>MongoDB, while gratis and open-source, is not entirely FLOSS. If you're hell bent on using software with a hard FLOSS license, you're probably better off [FerretDB](ferretdb-debian)<sup><br>
@ -35,6 +36,7 @@ security:
``` ```
### Setting up the Canopy User/DB ### Setting up the Canopy User/DB
<sup>This section is incomplete, I'd like to go over this with more security-related documentation for MongoDB. I'm not a professional DBA XP</sup>
1. Restart `mongod` with `sudo systemctl restart mongod` 1. Restart `mongod` with `sudo systemctl restart mongod`
2. Drop back into `mongosh` with authentication `mongosh -u 'admin'`, entering the password on prompt 2. Drop back into `mongosh` with authentication `mongosh -u 'admin'`, entering the password on prompt
3. Switch over to the canopy database `use canopy` 3. Switch over to the canopy database `use canopy`