This repository has been archived by the owner on Oct 2, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 54
/
Copy pathmanifest.yml
183 lines (179 loc) · 4.82 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
---
# https://docs.cloudfoundry.org/devguide/deploy-apps/manifest.html
# NOTE: any changes to this file require running `cf push <appname>` directly, rather than `cf-blue-green <appname>`.
# general configuration
domain: 18f.gov
instances: 1
# we point upstream because 18F buildpacks sometimes lag behind newer Ruby versions.
buildpack: https://github.com/cloudfoundry/ruby-buildpack.git
# environment-specific configuration
# dev
applications:
- name: c2-dev
host: c2-dev
memory: 1024MB
command: script/server_start
env:
API_ENABLED: true
UPS_BASE: c2-dev-ups
ASSET_HOST: https://c2-dev.18f.gov/
DEFAULT_URL_HOST: c2-dev.18f.gov
NEW_RELIC_APP_NAME: C2 (Development)
NOTIFICATION_FROM_EMAIL: [email protected]
NOTIFICATION_REPLY_TO: [email protected]
RESTRICT_ACCESS: true
S3_BUCKET_NAME: c2-demo
S3_REGION: us-east-1
WELCOME_EMAIL: true
REDESIGN_DEFAULT_VIEW: true
services:
- c2-dev-elasticsearch
- c2-dev-db
- c2-dev-s3
- c2-dev-ups-oauth
- c2-dev-ups-newrelic
- c2-dev-ups-aws
- c2-dev-ups-app_param
- c2-dev-ups-app_config
- name: c2-dev-worker
no-route: true
health-check-type: none
command: script/worker-start
memory: 640MB
env:
API_ENABLED: true
UPS_BASE: c2-dev-ups
ASSET_HOST: https://c2-dev.18f.gov/
DEFAULT_URL_HOST: c2-dev.18f.gov
NEW_RELIC_APP_NAME: C2 (Development)
NOTIFICATION_FROM_EMAIL: [email protected]
NOTIFICATION_REPLY_TO: [email protected]
RESTRICT_ACCESS: true
S3_BUCKET_NAME: c2-demo
S3_REGION: us-east-1
WELCOME_EMAIL: true
services:
- c2-dev-elasticsearch
- c2-dev-db
- c2-dev-ups-s3
- c2-dev-ups-oauth
- c2-dev-ups-newrelic
- c2-dev-ups-aws
- c2-dev-ups-app_param
- c2-dev-ups-app_config
# staging
- name: c2-staging
host: c2-staging
memory: 1024MB
command: script/server_start
env:
ASSET_HOST: https://c2-staging.18f.gov/
DEFAULT_URL_HOST: c2-staging.18f.gov
HIDE_DESIGN_TOGGLE: true
NEW_RELIC_APP_NAME: C2 (Staging)
NOTIFICATION_FROM_EMAIL: [email protected]
NOTIFICATION_REPLY_TO: [email protected]
REDESIGN_DEFAULT_VIEW: true
RESTRICT_ACCESS: false
S3_BUCKET_NAME: c2-demo
S3_REGION: us-east-1
WELCOME_EMAIL: true
UPS_BASE: c2-staging-ups
services:
- c2-staging-elasticsearch
- c2-staging-db
- c2-staging-ups-s3
- c2-staging-ups-oauth
- c2-staging-ups-newrelic
- c2-staging-ups-email
- c2-staging-ups-app_param
- c2-staging-ups-app_config
- name: c2-staging-worker
no-route: true
health-check-type: none
command: script/worker-start
memory: 640MB
env:
ASSET_HOST: https://c2-staging.18f.gov/
DEFAULT_URL_HOST: c2-staging.18f.gov
NEW_RELIC_APP_NAME: C2 (Staging)
UPS_BASE: c2-staging-ups
NOTIFICATION_FROM_EMAIL: [email protected]
NOTIFICATION_REPLY_TO: [email protected]
RESTRICT_ACCESS: false
S3_BUCKET_NAME: c2-demo
S3_REGION: us-east-1
WELCOME_EMAIL: true
services:
- c2-staging-elasticsearch
- c2-staging-db
- c2-staging-ups-s3
- c2-staging-ups-oauth
- c2-staging-ups-newrelic
- c2-staging-ups-email
- c2-staging-ups-app_param
- c2-staging-ups-app_config
# production
- name: c2-prod
hosts:
- cap
- c2
memory: 1024MB
instances: 2
command: script/server_start
env:
RAILS_ENV: production
RACK_ENV: production
API_ENABLED: true
ASSET_HOST: https://cap.18f.gov/
DEFAULT_URL_HOST: cap.18f.gov
DISABLE_SANDBOX_WARNING: true
GA_TRACKING_ID: UA-48605964-27
HIDE_DESIGN_TOGGLE: true
NEW_RELIC_APP_NAME: C2 (Production)
NOTIFICATION_FROM_EMAIL: [email protected]
NOTIFICATION_REPLY_TO: [email protected]
REDESIGN_DEFAULT_VIEW: true
RESTRICT_ACCESS: true
S3_BUCKET_NAME: c2-prod
S3_REGION: us-east-1
UPS_BASE: c2-prod-ups
WELCOME_EMAIL: true
services:
- c2-prod-elasticsearch
- c2-prod-db
- c2-prod-ups-s3
- c2-prod-ups-oauth
- c2-prod-ups-newrelic
- c2-prod-ups-aws
- c2-prod-ups-app_param
- c2-prod-ups-app_config
- name: c2-prod-worker
no-route: true
health-check-type: none
command: script/worker-start
memory: 640MB
env:
RAILS_ENV: production
RACK_ENV: production
ASSET_HOST: https://cap.18f.gov/
DEFAULT_URL_HOST: cap.18f.gov
DISABLE_SANDBOX_WARNING: true
UPS_BASE: c2-prod-ups
GA_TRACKING_ID: UA-48605964-27
NEW_RELIC_APP_NAME: C2 (Production)
NOTIFICATION_FROM_EMAIL: [email protected]
NOTIFICATION_REPLY_TO: [email protected]
RESTRICT_ACCESS: true
S3_BUCKET_NAME: c2-prod
S3_REGION: us-east-1
WELCOME_EMAIL: true
services:
- c2-prod-elasticsearch
- c2-prod-db
- c2-prod-ups-s3
- c2-prod-ups-oauth
- c2-prod-ups-newrelic
- c2-prod-ups-aws
- c2-prod-ups-app_param
- c2-prod-ups-app_config