-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathwercker-box.yml
27 lines (27 loc) · 889 Bytes
/
wercker-box.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
name: rethinkdb
version: 0.5.0
inherits: wercker/ubuntu12.04-webessentials@1.0.4
type: service
platform: ubuntu@12.04
description: wercker box for rethinkdb an open source distributed database
keywords:
- rethinkdb
- opensource
- nosql
- database
- json
packages:
- rethinkdb@2.0.1
script: |
source /etc/lsb-release && echo "deb http://download.rethinkdb.com/apt $DISTRIB_CODENAME main" | sudo tee /etc/apt/sources.list.d/rethinkdb.list
wget -O- http://download.rethinkdb.com/apt/pubkey.gpg | sudo apt-key add -
sudo apt-get update -y
sudo apt-get install rethinkdb -y
sudo mkdir -p /etc/rethinkdb/instances.d
sudo -- sh -c "echo 'bind=all' > /etc/rethinkdb/instances.d/default.conf"
env:
WERCKER_RETHINKDB_PORT: 28015
WERCKER_RETHINKDB_HOST: $$HOST$$
WERCKER_RETHINKDB_URL: $$HOST$$:28015
WERCKER_RETHINKDB_VERSION: "2.0.1"
RETHINKDB_URL: $$HOST$$:28015