forked from GSA/project-open-data-dashboard
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmanifest.yml
33 lines (32 loc) · 1023 Bytes
/
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
---
# To apply this manifest: cf push --vars-file vars.yml
default_config: &defaults
disk_quota: 512M
timeout: 180
services:
- ((app_name))-db # cf create-service aws-rds small-mysql-redundant dashboard-db
- ((app_name))-s3 # cf create-service s3 basic-public dashboard-s3
- ((app_name))-secrets # cf create-user-provided-service dashboard-secrets -p '{
# "ENCRYPTION_KEY": "long-random-string"
# }'
applications:
- name: ((app_full_name))
<<: *defaults
memory: 64M
instances: ((instances))
routes: ((routes))
health-check-type: http
health-check-http-endpoint: /healthcheck
env:
APP_DIR: /home/vcap/app
# NEW_RELIC_APP_NAME and NEW_RELIC_MONITOR_MODE
# can't be set in the PHP buildpack extension
NEWRELIC_HOST: gov-collector.newrelic.com
S3_PREFIX: datagov/dashboard/
DEFAULT_HOST: ((default_host))
processes:
- type: web
disk_quota: 512M
memory: ((memory_quota))
instances: ((instances))
timeout: 10