-
Notifications
You must be signed in to change notification settings - Fork 1
/
vagga.yaml
84 lines (76 loc) · 2.06 KB
/
vagga.yaml
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
containers:
appstats:
setup:
- !Alpine v3.3
- !Py2Requirements "requirements.txt"
appstats-dev:
environ:
CANTAL_PATH: /tmp/appstats.metrics
CANTAL_APPNAME: appstats
setup:
- !Container appstats
- !Py2Install [ipython==0.10, Werkzeug==0.11.10]
redis:
setup:
- !Alpine v3.1
- !Install [redis]
mongodb:
setup:
- !Ubuntu xenial
- !UbuntuUniverse
# - !UbuntuRepo
# url: http://repo.mongodb.org/apt/ubuntu
# suite: xenial/mongodb-org/3.2
# components: [multiverse]
- !AptTrust keys: [EA312927]
- !Sh "mkdir -p /work/mdb"
- !Sh |
echo 'deb http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.2 multiverse' |
tee /etc/apt/sources.list.d/mongodb-org-3.2.list &&
apt-get update
- !Install [mongodb-org=3.2.9]
r-lang:
setup:
- !Ubuntu trusty
- !UbuntuUniverse
- !AptTrust keys: [B04C661B]
- !UbuntuPPA marutter/rrutter
- !Install [r-base-core, build-essential, curl, libxml2-dev, libcurl4-gnutls-dev, libssl-dev]
- !Depends init.R
- !Sh |
/usr/lib/R/bin/R --slave --no-restore --file=init.R
commands:
run: !Supervise
children:
redis: !Command
container: redis
run: redis-server --daemonize no
mongodb: !Command
container: mongodb
run: mongod --dbpath /work/mdb
appstats: !Command
container: appstats-dev
run: /usr/bin/python2 -m "werkzeug.serving" "--bind=127.0.0.1:8000" "appstats.app:app.wsgi_app"
pyshell: !Command
container: appstats-dev
environ:
HOME: /work
run: python manage.py shell
manage: !Command
container: appstats-dev
environ:
HOME: /work
run:
- python
- manage.py
shell: !Command
container: appstats-dev
run: sh
anomalies: !Command
container: r-lang
accepts-arguments: true
run: /usr/lib/R/bin/R --slave --no-restore --file=/work/anomalies.R --args $@
r-shell: !Command
container: r-lang
accepts-arguments: true
run: /usr/lib/R/bin/R --no-restore