1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-01-24 05:17:06 +02:00
dockerfiles/nodebb/README.md

33 lines
630 B
Markdown
Raw Normal View History

2016-01-16 07:19:42 +08:00
nodebb
======
![](https://badge.imagelayers.io/vimagick/nodebb:latest.svg)
[NodeBB][1] Forum Software is powered by Node.js and built on either a Redis or MongoDB database.
2017-05-10 16:17:11 +08:00
Read the [docs][2].
2016-01-16 07:19:42 +08:00
## up and running
2017-05-10 16:17:11 +08:00
```bash
2022-01-17 16:53:36 +08:00
$ docker-compose run --rm --service-ports nodebb bash
>>> ./nodebb --config config/config.json setup
>>> exit
2016-01-16 07:19:42 +08:00
$ docker-compose up -d
$ firefox http://localhost:4567
```
2016-01-16 12:27:53 +08:00
> Host IP or address of your Redis instance: `redis`
2016-01-16 12:07:47 +08:00
2017-05-10 16:17:11 +08:00
## software upgrade
```bash
$ docker-compose pull nodebb
2022-01-17 16:53:36 +08:00
$ docker-compose exec nodebb bash
2018-08-25 11:34:33 +08:00
>>> ./nodebb upgrade
2017-05-10 16:17:11 +08:00
>>> exit
```
2016-01-16 07:19:42 +08:00
[1]: https://nodebb.org/
2018-08-25 11:34:33 +08:00
[2]: https://docs.nodebb.org/