Skip to content
This repository has been archived by the owner on Nov 15, 2018. It is now read-only.

Latest commit

 

History

History
22 lines (14 loc) · 829 Bytes

README.md

File metadata and controls

22 lines (14 loc) · 829 Bytes

Openshift Foreman Cartridge

This cartridge for OpenShift allows you to configure and use Foreman to run processes in the background.

Installation

Once you have an existing OpenShift application, run the following command:

rhc cartridge add -a app_name http://cartreflect-claytondev.rhcloud.com/reflect?github=ncdc/openshift-foreman-cartridge

Usage

In the root of your application's git repository, create a file called Procfile. Then add one or more entries such as:

mytask: bundle exec rake resque:work QUEUE=*

Logging

Output from Foreman is written to $OPENSHIFT_HOMEDIR/foreman/log/foreman.log

Limitations

This cartridge does not currently listen on any ports.

License

Licensed under the Apache Software License, v2.0. Please see LICENSE for more information.