-
Notifications
You must be signed in to change notification settings - Fork 35
Expand file tree
/
Copy pathtouchpoints.yml
More file actions
40 lines (40 loc) · 1.46 KB
/
touchpoints.yml
File metadata and controls
40 lines (40 loc) · 1.46 KB
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
applications:
- name: touchpoints
memory: 2G
disk_quota: 2G
timeout: 180
command: bundle exec rake cf:on_first_instance db:migrate && bundle exec rails s -b 0.0.0.0 -p $PORT -e $RAILS_ENV
env:
# Non-secret env vars only - secrets are set via `cf set-env` and should NOT be in this manifest
# Empty values here would OVERWRITE existing secrets on cf push!
LOGIN_GOV_CLIENT_ID: urn:gov:gsa:openidconnect.profiles:sp:sso:gsa-tts-opp:touchpoints
LOGIN_GOV_IDP_BASE_URL: https://secure.login.gov/
LOGIN_GOV_REDIRECT_URI: https://touchpoints.app.cloud.gov/users/auth/login_dot_gov/callback
RAILS_ENV: production
TOUCHPOINTS_WEB_DOMAIN: touchpoints.app.cloud.gov
INDEX_URL: /admin
SKIP_WIDGET_RENDERER: "true"
# Secrets managed via cf set-env (DO NOT add empty keys here):
# - AWS_SES_ACCESS_KEY_ID
# - AWS_SES_SECRET_ACCESS_KEY
# - AWS_SES_REGION
# - LOGIN_GOV_PRIVATE_KEY
# - NEW_RELIC_KEY
# - S3_AWS_ACCESS_KEY_ID
# - S3_AWS_BUCKET_NAME
# - S3_AWS_REGION
# - S3_AWS_SECRET_ACCESS_KEY
# - TOUCHPOINTS_EMAIL_SENDER
# - TOUCHPOINTS_GTM_CONTAINER_ID
buildpacks:
- https://github.com/rileyseaburg/rust-buildpack-touchpoints/archive/refs/tags/v1.0.0.zip
- nodejs_buildpack
- ruby_buildpack
services:
- touchpoints-prod-db
- touchpoints-redis-service
- touchpoints-prod-s3
- touchpoints-prod-deployer
- touchpoints-s3-uploads
routes:
- route: touchpoints.app.cloud.gov