Submit social housing lettings and sales data (CORE)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

43 lines
1.1 KiB

---
defaults: &defaults
buildpacks:
- https://github.com/cloudfoundry/ruby-buildpack.git#v1.8.59
processes:
- type: web
command: bundle exec rake cf:on_first_instance db:migrate && bin/rails server
instances: 2
memory: 1G
- type: worker
command: bundle exec sidekiq -t 3
health-check-type: process
instances: 2
health-check-type: http
health-check-http-endpoint: /health
applications:
- name: dluhc-core-staging
<<: *defaults
env:
RAILS_ENV: staging
services:
- dluhc-core-staging-postgres
- dluhc-core-staging-redis
- name: dluhc-core-production
<<: *defaults
processes:
- type: web
command: bundle exec rake cf:on_first_instance db:migrate && bin/rails server
instances: 4
memory: 1G
- type: worker
command: bundle exec sidekiq -t 3
health-check-type: process
instances: 2
env:
RAILS_ENV: production
host: submit-social-housing-lettings-sales-data
services:
- dluhc-core-production-postgres
- dluhc-core-production-redis