Add new developer sandbox 'rh' infrastructure

This commit is contained in:
Alysia Broddrick 2023-08-07 08:47:52 -07:00
parent a239e7ad63
commit e69b800f59
No known key found for this signature in database
GPG key ID: 03917052CD0F06B7
4 changed files with 32 additions and 0 deletions

View file

@ -15,6 +15,7 @@ on:
options:
- stable
- staging
- rh
- gd
- rb
- ko

View file

@ -16,6 +16,7 @@ on:
options:
- stable
- staging
- rh
- gd
- rb
- ko

View file

@ -0,0 +1,29 @@
---
applications:
- name: getgov-rh
buildpacks:
- python_buildpack
path: ../../src
instances: 1
memory: 512M
stack: cflinuxfs4
timeout: 180
command: ./run.sh
health-check-type: http
health-check-http-endpoint: /health
env:
# Send stdout and stderr straight to the terminal without buffering
PYTHONUNBUFFERED: yup
# Tell Django where to find its configuration
DJANGO_SETTINGS_MODULE: registrar.config.settings
# Tell Django where it is being hosted
DJANGO_BASE_URL: https://getgov-rh.app.cloud.gov
# Tell Django how much stuff to log
DJANGO_LOG_LEVEL: INFO
# default public site location
GETGOV_PUBLIC_SITE_URL: https://beta.get.gov
routes:
- route: getgov-rh.app.cloud.gov
services:
- getgov-credentials
- getgov-rh-database

View file

@ -571,6 +571,7 @@ SECURE_SSL_REDIRECT = True
ALLOWED_HOSTS = [
"getgov-stable.app.cloud.gov",
"getgov-staging.app.cloud.gov",
"getgov-rh.app.cloud.gov",
"getgov-gd.app.cloud.gov",
"getgov-rb.app.cloud.gov",
"getgov-ko.app.cloud.gov",