Run NodeBB in the Docker or Kubernetes
-
Thanks!
The difference from official NodeBB Docker image:- Support of persistent volume to store config.json, uploads, and package.json
- Support of ENV variables to initial (auto) installation
- Runs nodebb upgrade -sb on startup
In short, realized using docker best practices so the user can easily upgrade the image without data loss and issues.
The difference from the @nilsramsperger image (superficially):
- I'm realized autobuilds, in the Github and DockerHub always an actual version of stable and beta images.
- I wasn't included in any databases in the image.
- Kubernetes compatible.
PS. This test instance still alive to test how it works in the k8s.
-
@rez0n I've just setup a NodeBB instance with the provided docker-compose.yml file from your repository. I've checked the log files at
/usr/src/app/logs
in the nodebb image, but can't find any credentials of the admin user in the filewebinstall.log
.
Do you know where I can find the credentials of the created admin account? -
Just playing with NodeBB, and your work has saved me a bunch of time. Thanks a lot @dstang
For the last question, if you don't have admin password, either look for it in the log, or search for "lost admin password" in this forum.
TL;DR: there is a trick of adding a regular to "administrators" group, then use this user to reset "admin" password.