add rethinkdb 2.3.5

This commit is contained in:
xkodiak 2017-05-03 08:47:21 +02:00
parent 02a16d1c0f
commit 4143dca90b
5 changed files with 80 additions and 0 deletions

View File

@ -0,0 +1,17 @@
# RethinkDB Cluster
RethinkDB is the first open-source, scalable JSON database built from the ground up for the realtime web. It inverts the traditional database architecture by exposing an exciting new access model instead of polling for changes, the developer can tell RethinkDB to continuously push updated query results to applications in realtime. RethinkDBs realtime push architecture dramatically reduces the time and effort necessary to build scalable realtime apps.
**This Template creates 2 services:**
- **rethinkdb:** This is the scalable database service.
- **rethinkdb-proxy:** This is the proxy service, the query-router and admin panel. (queries are sent to this service)
### Repository
https://github.com/xkodiak/rancher-rethinkdb
### Variables
- **Proxy Web Port:** admin panel port (default: 8080)
- **Proxy Query Port:** query port (default: 28015)
- **Volume Driver:** local, rancher-nfs, ... (default: local)

View File

@ -0,0 +1,23 @@
version: '2'
volumes:
rethinkdb-data:
driver: '${rethinkdb_volume_driver}'
per_container: true
services:
rethinkdb:
image: xkodiak/rancher-rethinkdb:2.3.5
volumes:
- rethinkdb-data:/data
labels:
io.rancher.scheduler.affinity:container_label_soft_ne: io.rancher.stack_service.name=$${stack_name}/$${service_name}
io.rancher.container.hostname_override: container_name
rethinkdb-proxy:
image: xkodiak/rancher-rethinkdb:2.3.5
entrypoint: /proxy.sh
links:
- rethinkdb:db
ports:
- ${rethinkdb_proxy_webport}:8080/tcp
- ${rethinkdb_proxy_queryport}:28015/tcp
depends_on:
- rethinkdb

View File

@ -0,0 +1,34 @@
.catalog:
name: "RethinkDB"
version: "2.3.5"
description: "(Experimental) NoSQL-Database"
uuid: rethinkdb-0
questions:
- variable: "rethinkdb_proxy_webport"
description: ""
label: "Proxy Web Port (Admin Panel):"
required: true
type: "int"
default: 8080
- variable: "rethinkdb_proxy_queryport"
description: ""
label: "Proxy Query Port:"
required: true
type: "int"
default: 28015
- variable: "rethinkdb_volume_driver"
description: ""
label: "Volume Driver:"
required: true
type: "string"
default: "local"
version: '2'
services:
rethinkdb:
scale: 1
start_on_create: true
rethinkdb-proxy:
scale: 1
start_on_create: true

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 5.7 KiB

View File

@ -0,0 +1,5 @@
name: RethinkDB Cluster
description: |
(Experimental) NoSQL-Database
version: 2.3.5
category: Databases