-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathmanifest.yml
More file actions
42 lines (42 loc) · 1.15 KB
/
manifest.yml
File metadata and controls
42 lines (42 loc) · 1.15 KB
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
---
applications:
- name: ((app_name))-proxy
buildpacks:
- https://github.com/cloudfoundry/nginx-buildpack
services:
- ((app_name))-s3
- ((app_name))-secrets
- logstack-space-drain
path: ./proxy
# TODO: tweak with load testing
memory: 100M
instances: ((proxy_instances))
routes:
- route: ((route_external))
env:
EXTERNAL_ROUTE: ((route_external))
BETA_ROUTE: ((route_beta))
INTERNAL_ROUTE: ((route_internal))
BASIC_AUTH_ENABLED: ((basic_auth_enabled))
- name: ((app_name))
buildpacks:
- python_buildpack
routes:
- route: ((route_internal))
services:
- datagov-harvest-db
- ((app_name))-secrets
- ((app_name))-s3
- ((app_name))-opensearch
- logstack-space-drain
instances: ((instances))
memory: 1G
disk_quota: 2G
env:
FLASK_APP: run.py
NEW_RELIC_APP_NAME: ((new_relic_app_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
SITE_URL: ((site_url))
command: ./app-start.sh