-
Notifications
You must be signed in to change notification settings - Fork 14
/
manifest.example.yml
73 lines (67 loc) · 1.96 KB
/
manifest.example.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
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
applications:
- name: sentiment-compute-app
path: ./sentiment-compute-app
memory: 512MB
disk_quota: 2GB
instances: 1
buildpack: https://github.com/cloudfoundry/python-buildpack.git
command: gunicorn --bind 0.0.0.0:$PORT sentiment_service:app
services:
- twitter-nlp-redis
- name: compute-tweet-stats
path: ./compute-tweet-stats
buildpack: python_buildpack
disk_quota: 1GB
instances: 1
memory: 256MB
command: gunicorn --bind 0.0.0.0:$PORT tweet_rate:app
services:
- twitter-nlp-redis
- name: firehose
path: ./firehose
memory: 256MB
disk_quota: 256MB
instances: 1
buildpack: python_buildpack
no-route: true
health-check-type: none
command: python tweet_listener.py
env:
SENTIMENT_COMPUTE_URL: *URL for sentiment-compute-app*
services:
- twitter-nlp-redis
- name: gen-tweet-stats
path: ./gen-tweet-stats
memory: 256MB
disk_quota: 256MB
instances: 1
buildpack: python_buildpack
no-route: true
health-check-type: none
command: python gen_stats.py
env:
SENTIMENT_STATS_URL: *URL for compute-tweet-stats*
services:
- twitter-nlp-redis
- name: load-test-twitter-nlp
path: ./load-test-twitter-nlp
memory: 1GB
disk_quota: 2GB
instances: 1
buildpack: python_buildpack
env:
SENTIMENT_COMPUTE_URL: *URL for sentiment-compute-app*
command: locust --host=$SENTIMENT_COMPUTE_URL --web-host=0.0.0.0 --web-port=$PORT
- name: twitternlp
path: ./twitter-nlp
memory: 512MB
disk_quota: 512MB
instances: 1
buildpack: python_buildpack
route: twitternlp
command: python app.py
env:
SENTIMENT_COMPUTE_URL: *URL for sentiment-compute-app*
SENTIMENT_STATS_URL: *URL for compute-tweet-stats*
services:
- twitter-nlp-redis