@julian I assumed that since this was a managed container environment where containers are ephemeral and can be moved around, I would need to run ./nodebb setup
every time. Is my assumption wrong? Can I just run setup once to populate the database and then just run ./nodebb build
the other times?
Siddharth Sarda
Posts
-
How to disable local login at setup? -
How to disable local login at setup?I was able to do what I want using these changes but not sure if there is a better way. https://github.com/NodeBB/NodeBB/pull/11091/files
-
How to disable local login at setup?Hello,
I have deployed Nodebb on AWS Apprunner which is a managed container application service. I am using a fork of the https://github.com/FusionAuth/nodebb-plugin-fusionauth-oidc/ to use my own login and do not want local logins at all.
Everytime I run ./nodebb setup, because of this line in
install.js
https://github.com/NodeBB/NodeBB/blob/master/src/install.js#L428, local login is enabled again.Is there a way I can control this at setup so that the local login is not enabled everytime at setup?
-
Running nodebb on multiple ports on a single machine.Hi, I am trying to run nodebb on a single machine on multiple ports as recommended here https://docs.nodebb.org/configuring/scaling/.
This is my config.json
{ "url": "http://localhost:4567", "secret": "****", "database": "mongo", "mongo": { "host": "127.0.0.1", "port": "27017", "username": "nodebb", "password": "*********", "database": "nodebb", "uri": "" }, "redis": { "host":"127.0.0.1", "port":"6379", "database": 0 }, "port": ["4567", "4568", "4569"] }
I then run
./nodebb setup
and my port value in my config.json gets overwritten. I tried to change the config and then run./nodebb start
but still no luck. I am on version 2.6.What am I doing wrong?