-
Notifications
You must be signed in to change notification settings - Fork 4
/
manifest.yml
38 lines (38 loc) · 1.09 KB
/
manifest.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
---
applications:
- name: ((app_name))-admin
buildpacks:
- python_buildpack
routes:
- route: ((route_external))
services:
- ((app_name))-db
- ((app_name))-secrets
instances: ((admin_instances))
memory: ((admin_memory_quota))
env:
FLASK_APP: run.py
CF_API_URL: ((CF_API_URL))
HARVEST_RUNNER_APP_GUID: ((HARVEST_RUNNER_APP_GUID))
CKAN_API_URL: ((CKAN_API_URL))
CLIENT_ID: ((CLIENT_ID))
ISSUER: ((ISSUER))
REDIRECT_URI: ((REDIRECT_URI))
NEW_RELIC_APP_NAME: ((app_name))-admin-((space_name))
NEW_RELIC_HOST: gov-collector.newrelic.com
NEW_RELIC_MONITOR_MODE: ((new_relic_monitor_mode))
NEW_RELIC_CONFIG_FILE: /home/vcap/app/config/newrelic.ini
command: ./harvest-admin-start.sh
- name: ((app_name))-runner
buildpacks:
- python_buildpack
services:
- ((app_name))-db
- ((app_name))-secrets
- ((app_name))-smtp
instances: 0
env:
CF_API_URL: ((CF_API_URL))
CKAN_API_URL: ((CKAN_API_URL))
REDIRECT_URI: ((REDIRECT_URI))
command: time.sleep(30)