forked from GSA/project-open-data-dashboard
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmanifest.yml
31 lines (30 loc) · 965 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
---
# 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 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
NEWRELIC_LICENSE: ((NEWRELIC_LICENSE))
processes:
- type: web
command: $HOME/.bp/bin/start
disk_quota: 512M
timeout: 10