48 lines
2.1 KiB
YAML
48 lines
2.1 KiB
YAML
captainVersion: 4
|
|
services:
|
|
$$cap_appname:
|
|
image: nibrev/nodebb:$$cap_myapp_version
|
|
restart: always
|
|
environment:
|
|
URL: "$$cap_appname.$$cap_root_domain"
|
|
DATABASE: "redis"
|
|
DB_NAME: "0"
|
|
DB_HOST: "srv-captain--$$cap_appname-redis"
|
|
DB_PORT: "6379"
|
|
volumes:
|
|
- $$cap_appname-data:/data
|
|
caproverExtra:
|
|
containerHttpPort: '4567'
|
|
|
|
$$cap_appname-redis:
|
|
image: redis
|
|
restart: always
|
|
environment:
|
|
volumes:
|
|
- $$cap_appname-redis-data:/data
|
|
volumes:
|
|
$$cap_appname-data: {}
|
|
$$cap_appname-redis-data: {}
|
|
caproverOneClickApp:
|
|
variables:
|
|
- id: $$cap_myapp_version
|
|
label: nodeBB Version
|
|
defaultValue: 'stable'
|
|
description: Check out their Docker page for the valid tags https://hub.docker.com/r/nibrev/nodebb/tags
|
|
instructions:
|
|
start: |-
|
|
NodeBB is next generation forum software. It's powerful, mobile-ready and easy to use.
|
|
Never worry about performance and scalability, it is build on Node.js.
|
|
Posting topics and replies with a WYSIWYG or Markdown editor. Built-in relatime chat & notifications.
|
|
Other features: User-created groups, tags, advanced search.
|
|
Administration with roles & permissions, real-time analytics dashboard & drag-and-drop widgets.
|
|
Checkout https://nodebb.org
|
|
This script creates a docker container with NodeBB itself and a docker container with redis, called appname-redis.
|
|
end: |-
|
|
Aaaand you're done! 😄
|
|
Your service is available at http://$$cap_appname.$$cap_root_domain in a few moments. The login credentials are in the log output of $$cap_appname, search for 'admin'. Please make sure to enable HTTPS and WebSocket support, but after you noted your admin credentials from the log.
|
|
displayName: NodeBB
|
|
isOfficial: false ## Only if all images used here are official or from a trusted source.
|
|
description: NodeBB is next generation forum software. It's powerful, mobile-ready and easy to use.
|
|
documentation: This docker-compose is taken from https://hub.docker.com/r/nibrev/nodebb
|