mirror of
https://github.com/vimagick/dockerfiles
synced 2024-06-26 00:38:37 +00:00
34 lines
493 B
Markdown
34 lines
493 B
Markdown
![]() |
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.
|
||
|
|
||
|
## docker-compose.yml
|
||
|
|
||
|
```
|
||
|
nodebb:
|
||
|
image: vimagick/nodebb
|
||
|
ports:
|
||
|
- "4567:4567"
|
||
|
links:
|
||
|
- redis
|
||
|
restart: always
|
||
|
|
||
|
redis:
|
||
|
image: redis
|
||
|
ports:
|
||
|
- "127.0.0.1:6379:6379"
|
||
|
restart: always
|
||
|
```
|
||
|
|
||
|
## up and running
|
||
|
|
||
|
```
|
||
|
$ docker-compose up -d
|
||
|
$ firefox http://localhost:4567
|
||
|
```
|
||
|
|
||
|
[1]: https://nodebb.org/
|