Skip to content
This repository has been archived by the owner on Aug 18, 2021. It is now read-only.

Commit

Permalink
updated default manifest files to include HSTS
Browse files Browse the repository at this point in the history
  • Loading branch information
Sean Stares committed Jul 14, 2020
1 parent c8ea17f commit 8b9fb8c
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 5 deletions.
10 changes: 8 additions & 2 deletions manifest-staging.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
applications:
- name: code-api
- name: code-api-v2.6.5
memory: 100M
instances: 1
disk_quota: 512M
Expand All @@ -14,10 +14,16 @@ applications:
NODE_ENV: staging
NEW_RELIC_APP_NAME: code-api-staging
LOGGER_LEVEL: info
USE_HSTS: true
HSTS_MAX_AGE: 31536000
HSTS_PRELOAD: true
HSTS_SUBDOMAINS: true
GET_REMOTE_METADATA: true
GITHUB_API_KEY: not_a_token
NEW_RELIC_LICENSE_KEY: not_a_token
REMOTE_METADATA_LOCATION: https://raw.githubusercontent.com/GSA/code-gov-data/master/agency_metadata.json
ELASTICSEARCH_SERVICE_NAME: code_gov_elasticsearch
services:
- code_gov_elasticsearch
stack: cflinuxfs3
command: npm start
command: npm start
12 changes: 9 additions & 3 deletions manifest.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
applications:
- name: code-api
- name: code-api-v2.6.5
memory: 512M
instances: 2
instances: 1
disk_quota: 512M
health-check-type: process
routes:
Expand All @@ -15,9 +15,15 @@ applications:
NEW_RELIC_APP_NAME: code-api-prod
LOGGER_LEVEL: info
GET_REMOTE_METADATA: true
USE_HSTS: true
HSTS_MAX_AGE: 31536000
HSTS_PRELOAD: true
HSTS_SUBDOMAINS: true
GITHUB_API_KEY: not_a_token
NEW_RELIC_LICENSE_KEY: not_a_token
REMOTE_METADATA_LOCATION: https://raw.githubusercontent.com/GSA/code-gov-data/master/agency_metadata.json
ELASTICSEARCH_SERVICE_NAME: code_gov_elasticsearch
services:
- code_gov_elasticsearch
stack: cflinuxfs3
command: npm start
command: npm start

0 comments on commit 8b9fb8c

Please sign in to comment.