Add new developer sandbox 'ky' infrastructure

This commit is contained in:
Alysia Broddrick 2023-11-16 19:11:33 -08:00
parent 30fd3e0ae8
commit 4f8e1e9231
No known key found for this signature in database
GPG key ID: 03917052CD0F06B7
4 changed files with 35 additions and 0 deletions

View file

@ -15,6 +15,7 @@ on:
options:
- stable
- staging
- ky
- es
- nl
- rh

View file

@ -16,6 +16,7 @@ on:
options:
- stable
- staging
- ky
- es
- nl
- rh

View file

@ -0,0 +1,32 @@
---
applications:
- name: getgov-ky
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
health-check-invocation-timeout: 40
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-ky.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
# Flag to disable/enable features in prod environments
IS_PRODUCTION: False
routes:
- route: getgov-ky.app.cloud.gov
services:
- getgov-credentials
- getgov-ky-database

View file

@ -619,6 +619,7 @@ SECURE_SSL_REDIRECT = True
ALLOWED_HOSTS = [
"getgov-stable.app.cloud.gov",
"getgov-staging.app.cloud.gov",
"getgov-ky.app.cloud.gov",
"getgov-es.app.cloud.gov",
"getgov-nl.app.cloud.gov",
"getgov-rh.app.cloud.gov",