2017-08-24 17:08:39 +01:00
|
|
|
---
|
2017-02-13 18:04:08 +00:00
|
|
|
|
|
|
|
|
buildpack: python_buildpack
|
2017-11-22 15:01:53 +00:00
|
|
|
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
|
2017-02-13 18:04:08 +00:00
|
|
|
services:
|
|
|
|
|
- notify-aws
|
|
|
|
|
- notify-config
|
|
|
|
|
- notify-db
|
|
|
|
|
- mmg
|
|
|
|
|
- firetext
|
|
|
|
|
- hosted-graphite
|
2017-03-03 11:07:29 +00:00
|
|
|
- redis
|
2017-08-23 18:21:54 +01:00
|
|
|
- performance-platform
|
2017-02-13 18:04:08 +00:00
|
|
|
env:
|
|
|
|
|
NOTIFY_APP_NAME: public-api
|
|
|
|
|
CW_APP_NAME: api
|
2017-11-22 16:31:04 +00:00
|
|
|
# required by cf run-task
|
|
|
|
|
FLASK_APP: application.py
|
2017-02-13 18:04:08 +00:00
|
|
|
instances: 1
|
2017-03-06 14:48:27 +00:00
|
|
|
memory: 1G
|
2017-02-13 18:04:08 +00:00
|
|
|
|
|
|
|
|
applications:
|
|
|
|
|
- name: notify-api
|
|
|
|
|
|
|
|
|
|
- name: notify-api-db-migration
|
|
|
|
|
command: sleep infinity
|
|
|
|
|
no-route: true
|
|
|
|
|
health-check-type: none
|
|
|
|
|
instances: 1
|
|
|
|
|
memory: 128M
|