I see that I had to execute ./nodebb build in the container. I am guessing that it is because after removing the container, the build directory was gone and needed to be rebuilt, which tells me I have to put a build command on every container startup. This is not very optimal. I am hoping at some point in the future we can have a more hands-off docker-friendly deployment (like with env vars and all).
Set "default" settings via shell/bash
sebastian-marinescu last edited by
I'm using a customized shell script to manage 3 nodebb environments (local/staging/production). This is helping to integrate and customize private modules on the server, etc. - and activates/resets default modules for our setup.
Now I wonder how to go about "default settings" - e. g. I want to get sure the site-name is consistent everywhere - or vice versa, set it dynamically depending on the environment.
Does nodebb has an API for setting settings through shell?
Or would I need to go through the mongo shell?