Skip to content

M-Porter/buildpack-roadrunner-php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

buildpack-roadrunner-php

A Heroku buildpack for roadrunner.

Usage

Adding the buildpack

heroku buildpacks:add https://github.com/M-Porter/buildpack-roadrunner-php

Specifying the roadrunner version

You can specify which roadrunner version to use by setting the RR_VERSION environment variable.

Procfile

web: ./rr -o http.address=0.0.0.0:${PORT} serve

.rr.yaml

The following config assumes you have a worker file at your project root named worker.php.

# configuration version: https://roadrunner.dev/docs/beep-beep-config/2.x/en
version: '2.7'

rpc:
  listen: tcp://127.0.0.1:6001

server:
  command: "php worker.php"

logs:
  mode: production
  level: info
  output: stdout
  encoding: json

About

A Heroku buildpack for roadrunner.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages