mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-26 01:04:00 -04:00
Replace manifest user-provided services with environment variables
Variable values are populated from the credentials by the `generate-manifest` make target.
This commit is contained in:
@@ -2,16 +2,30 @@
|
|||||||
|
|
||||||
buildpack: python_buildpack
|
buildpack: python_buildpack
|
||||||
command: scripts/run_app_paas.sh gunicorn -c /home/vcap/app/gunicorn_config.py --error-logfile /home/vcap/logs/gunicorn_error.log -w 5 -b 0.0.0.0:$PORT application
|
command: scripts/run_app_paas.sh gunicorn -c /home/vcap/app/gunicorn_config.py --error-logfile /home/vcap/logs/gunicorn_error.log -w 5 -b 0.0.0.0:$PORT application
|
||||||
services:
|
|
||||||
- notify-aws
|
|
||||||
- notify-config
|
|
||||||
- notify-template-preview
|
|
||||||
- hosted-graphite
|
|
||||||
- deskpro
|
|
||||||
instances: 1
|
instances: 1
|
||||||
memory: 1G
|
memory: 1G
|
||||||
env:
|
env:
|
||||||
NOTIFY_APP_NAME: admin
|
NOTIFY_APP_NAME: admin
|
||||||
|
|
||||||
|
# Credentials variables
|
||||||
|
ADMIN_CLIENT_SECRET: null
|
||||||
|
ADMIN_BASE_URL: null
|
||||||
|
API_HOST_NAME: null
|
||||||
|
DANGEROUS_SALT: null
|
||||||
|
SECRET_KEY: null
|
||||||
|
ROUTE_SECRET_KEY_1: null
|
||||||
|
ROUTE_SECRET_KEY_2: null
|
||||||
|
|
||||||
|
AWS_ACCESS_KEY_ID: null
|
||||||
|
AWS_SECRET_ACCESS_KEY: null
|
||||||
|
|
||||||
|
STATSD_PREFIX: null
|
||||||
|
|
||||||
|
DESKPRO_API_HOST: null
|
||||||
|
DESKPRO_API_KEY: null
|
||||||
|
|
||||||
|
TEMPLATE_PREVIEW_API_HOST: null
|
||||||
|
TEMPLATE_PREVIEW_API_KEY: null
|
||||||
|
|
||||||
applications:
|
applications:
|
||||||
- name: notify-admin
|
- name: notify-admin
|
||||||
|
|||||||
@@ -3,11 +3,6 @@
|
|||||||
inherit: manifest-base.yml
|
inherit: manifest-base.yml
|
||||||
|
|
||||||
services:
|
services:
|
||||||
- notify-aws
|
|
||||||
- notify-config
|
|
||||||
- notify-template-preview
|
|
||||||
- hosted-graphite
|
|
||||||
- deskpro
|
|
||||||
- logit-ssl-syslog-drain
|
- logit-ssl-syslog-drain
|
||||||
|
|
||||||
routes:
|
routes:
|
||||||
|
|||||||
@@ -2,16 +2,30 @@
|
|||||||
|
|
||||||
buildpack: python_buildpack
|
buildpack: python_buildpack
|
||||||
command: scripts/run_app_paas.sh gunicorn -w 5 -b 0.0.0.0:$PORT application
|
command: scripts/run_app_paas.sh gunicorn -w 5 -b 0.0.0.0:$PORT application
|
||||||
services:
|
|
||||||
- notify-aws
|
|
||||||
- notify-config
|
|
||||||
- notify-template-preview
|
|
||||||
- hosted-graphite
|
|
||||||
- deskpro
|
|
||||||
instances: 1
|
instances: 1
|
||||||
memory: 1G
|
memory: 1G
|
||||||
env:
|
env:
|
||||||
NOTIFY_APP_NAME: admin
|
NOTIFY_APP_NAME: admin
|
||||||
|
|
||||||
|
# Credentials variables
|
||||||
|
ADMIN_CLIENT_SECRET: null
|
||||||
|
ADMIN_BASE_URL: null
|
||||||
|
API_HOST_NAME: null
|
||||||
|
DANGEROUS_SALT: null
|
||||||
|
SECRET_KEY: null
|
||||||
|
ROUTE_SECRET_KEY_1: null
|
||||||
|
ROUTE_SECRET_KEY_2: null
|
||||||
|
|
||||||
|
AWS_ACCESS_KEY_ID: null
|
||||||
|
AWS_SECRET_ACCESS_KEY: null
|
||||||
|
|
||||||
|
STATSD_PREFIX: null
|
||||||
|
|
||||||
|
DESKPRO_API_HOST: null
|
||||||
|
DESKPRO_API_KEY: null
|
||||||
|
|
||||||
|
TEMPLATE_PREVIEW_API_HOST: null
|
||||||
|
TEMPLATE_PREVIEW_API_KEY: null
|
||||||
|
|
||||||
applications:
|
applications:
|
||||||
- name: notify-admin-prototype
|
- name: notify-admin-prototype
|
||||||
|
|||||||
@@ -7,11 +7,6 @@ routes:
|
|||||||
- route: www.staging-notify.works
|
- route: www.staging-notify.works
|
||||||
|
|
||||||
services:
|
services:
|
||||||
- notify-aws
|
|
||||||
- notify-config
|
|
||||||
- notify-template-preview
|
|
||||||
- hosted-graphite
|
|
||||||
- deskpro
|
|
||||||
- logit-ssl-syslog-drain
|
- logit-ssl-syslog-drain
|
||||||
|
|
||||||
instances: 2
|
instances: 2
|
||||||
|
|||||||
Reference in New Issue
Block a user