Skip to content

Instantly share code, notes, and snippets.

@drnic
Created March 31, 2013 02:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save drnic/5279191 to your computer and use it in GitHub Desktop.
Save drnic/5279191 to your computer and use it in GitHub Desktop.
Proposal for a Cloud Foundry manifest.yml that is similar in concept to Heroku/Foreman's Procfile. The top-level `processes` key is new and hence does not conflict with old `applications` top-level key. The `processes:` child keys are similar to the keys in a Procfile.
---
processes:
web:
name: skiq
framework:
name: rails3
info:
mem: 256M
description: Rails Application
exec:
url: ${name}.${target-base}
runtime: ruby19
path: .
mem: 256M
instances: 1
services:
skiq-postgresql:
type: postgresql
skiq-redis:
type: redis
worker:
name: skiq-worker
framework:
name: standalone
info:
mem: 64M
description: Standalone Application
exec:
url:
runtime: ruby19
path: .
command: bundle exec sidekiq -e production
mem: 256M
instances: 1
services:
skiq-postgresql:
type: postgresql
skiq-redis:
type: redis
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment