-
Notifications
You must be signed in to change notification settings - Fork 9
/
manifest_prod.yml
39 lines (38 loc) · 1.19 KB
/
manifest_prod.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
---
inherit: manifest_base.yml
# Unfortunately, these configs needs to be repeated across dev/prod. Can be
# fixed by using different domains
applications:
- name: api
buildpack: python_buildpack
instances: 3
memory: 512M
path: api
services:
- database # aws-rds medium-psql
- config # user-provided service w/ DJANGO_SECRET_KEY and NEW_RELIC_LICENSE_KEY
- storage-s3 # S3 basic service
command: ./run_api.sh
routes:
- route: omb-eregs-api.app.cloud.gov
# When creating this service, be sure to configure it to pass two headers:
# Accept: Required to get the correct data format
# Referer: Required for CSRF validation
- route: policy-api.cio.gov
env:
NEW_RELIC_APP_NAME: OMB Prod API/Admin
MAX_URL: https://login.max.gov/cas/login
- name: ui
buildpack: nodejs_buildpack
instances: 8
memory: 128M
path: ui
command: npm start
routes:
- route: omb-eregs.app.cloud.gov
- route: policy-beta.cio.gov
services:
- config # user-provided service w/ UI_BASIC_AUTH and NEW_RELIC_LICENSE_KEY
env:
API_URL: https://policy-api.cio.gov/
NEW_RELIC_APP_NAME: OMB Prod UI