1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-11-30 09:16:41 +02:00
dockerfiles/nodebb
2019-10-01 16:17:49 +08:00
..
arm upgrade nodebb to 1.12.2 2019-10-01 16:17:49 +08:00
docker-compose.yml update nodebb 2018-08-25 11:34:33 +08:00
docker-entrypoint.sh update nodebb 2018-08-25 11:34:33 +08:00
Dockerfile upgrade nodebb to 1.12.2 2019-10-01 16:17:49 +08:00
Dockerfile.debian upgrade nodebb to 1.12.2 2019-10-01 16:17:49 +08:00
README.md update nodebb 2018-08-25 11:34:33 +08:00

nodebb

NodeBB Forum Software is powered by Node.js and built on either a Redis or MongoDB database.

Read the docs.

docker-compose.yml

nodebb:
  image: vimagick/nodebb
  ports:
    - "4567:4567"
  links:
    - redis
  volumes:
    - ./data:/var/lib/nodebb
    - /usr/src/nodebb/build
    - /usr/src/nodebb/node_modules
    - /usr/src/nodebb/public/uploads
  restart: always

redis:
  image: redis:alpine
  ports:
    - "127.0.0.1:6379:6379"
  volumes:
    - ./data:/data
  restart: always

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