I've been searching both this forum and the documentation site and I have been unable to find a list of all the possible environment variables that can be passed to NodeBB on startup.
Some of them can be found here:
This config.json documentation is here: https://docs.nodebb.org/en/latest/configuring/config.html
Can somebody please provide the complete list?
These are the variables I know of because I'm using them:
url=http://localhost:4567/forum Used to tell NodeBB where to run, also to define a subfolder.
defaultTheme: Override default (Persona) theme. This has to be set to the npm package name of the theme you want to default to.
database=redis|mongo Used to define which Database to use (redis or Mongo).
redis__database=# where # is the number of the redis database to use. Note: 2 underscores between redis and database.
- For these replace
mongo for MongoDB.
- Mongo Only: