-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrender.yaml
More file actions
30 lines (30 loc) · 833 Bytes
/
render.yaml
File metadata and controls
30 lines (30 loc) · 833 Bytes
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
databases:
- name: slacker-news-db
databaseName: slacker_news
user: slacker_news_user
plan: free
region: oregon
services:
- type: cron
name: slacker-news-hn-ingest
runtime: python
repo: https://github.com/posthello-code/slacker-news-server
plan: starter
envVars:
- fromGroup: slacker-news
region: oregon
buildCommand: pip install -r requirements.txt
startCommand: python -m cron.stories && python -m cron.comments
schedule: "0 */3 * * *"
- type: web
name: slacker-news-server
runtime: python
repo: https://github.com/posthello-code/slacker-news-server
plan: starter
envVars:
- fromGroup: slacker-news
region: oregon
buildCommand: pip install -r requirements.txt
startCommand: gunicorn start:app
healthCheckPath: /
version: "1"