-
Notifications
You must be signed in to change notification settings - Fork 6
/
manifest.yml
47 lines (46 loc) · 1.49 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
39
40
41
42
43
44
45
46
47
---
# To apply this manifest: cf push --vars-file vars.yml
applications:
- name: ((app_name))
instances: ((instances))
buildpacks:
- https://github.com/cloudfoundry/apt-buildpack
- python_buildpack
services:
- ((app_name))-db
- ((app_name))-datastore
- ((app_name))-s3
- ((app_name))-redis
- ((app_name))-secrets
- ((app_name))-solr
- sysadmin-users
routes:
- route: ((route_internal))
timeout: 120
memory: ((memory_quota))
disk_quota: ((disk_quota))
health-check-type: http
health-check-http-endpoint: /api/3
command: ./config/server_start.sh
env:
DS_RO_USER: datastore_default
CKANEXT__SAML2AUTH__ENTITY_ID: ((ckanext__saml2auth__entity_id))
CKANEXT__SAML2AUTH__IDP_METADATA__LOCAL_PATH: ((ckanext__saml2auth__idp_metadata__local_path))
CKAN_SITE_ID: inventory
CKAN_SITE_URL: https://((route_external))
NEW_RELIC_APP_NAME: ((app_name))-((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
SAML2_CERTIFICATE: ((saml2_certificate))
- name: ((app_name))-proxy
buildpacks:
- https://github.com/cloudfoundry/nginx-buildpack
path: ./proxy
# TODO: tweak with load testing
memory: 400M
routes:
- route: ((route_external))
env:
route_external: ((route_external))
route_internal: ((route_internal))