RethinkDB¶
RethinkDB is described as:
RethinkDB is the open-source, scalable database that makes building realtime apps dramatically easier.
Because RethinkDB has an Ubuntu package, it’s easy to setup:
containers:
ubuntu:
setup:
- !Ubuntu xenial
- !UbuntuRepo
url: http://download.rethinkdb.com/apt
suite: xenial
components: [main]
- !Download
url: https://download.rethinkdb.com/apt/pubkey.gpg
path: /tmp/pubkey.gpg
- !Sh apt-key add /tmp/pubkey.gpg
- !Install [rethinkdb]
- !EnsureDir /data
volumes:
/data: !Persistent data
- !NpmInstall [git://github.com/rethinkdb/rethinkdb-example-nodejs-chat.git]
commands:
rethink: &rethink !Command
description: Run rethink database
We also have a configued example chat application in the repository, that you may run with alongside with the database itself as follows:
vagga example-chat