mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-12-23 01:39:27 +02:00
.. | ||
docker-compose.yml | ||
docker-entrypoint.sh | ||
Dockerfile | ||
Dockerfile.debian | ||
README.md |
nodebb
NodeBB Forum Software is powered by Node.js and built on either a Redis or MongoDB database.
Read the docs.
docker-compose.yml
version: "3.8"
services:
nodebb:
image: vimagick/nodebb
ports:
- "4567:4567"
volumes:
- ./data:/var/lib/nodebb
- /usr/src/nodebb/build
- /usr/src/nodebb/node_modules
- /usr/src/nodebb/public/uploads
depends_on:
- redis
restart: unless-stopped
redis:
image: redis:6-alpine
volumes:
- ./data:/data
restart: unless-stopped
up and running
$ docker-compose up -d
$ vim data/config.json
$ docker-compose restart nodebb
$ firefox http://localhost:4567
Host IP or address of your Redis instance:
redis
software upgrade
$ docker-compose pull nodebb
$ docker-compose exec nodebb sh
>>> ./nodebb upgrade
>>> exit