heap-ratchet docker image.
Image for running a long-lived PHP process, usually using evented I/O via
This image is based upon the heap-app Docker image.
$ docker run -d heap-daemon
You can pass envrionment variables when launching the container:
$ docker run -d -e "VAR_COMMAND=/vol/website/bin/daemon.php" heap-daemon
This image uses environment variables to override common configuration options.
At the very least, you should specify
VAR_PROGRAM as the path to the PHP
If you set
VAR_WATCH to a valid directory within the container, the PHP
daemon will be automatically restarted whenever a file in this directory
changes (through inotify events).
The following environment variables are available (listed below with default values):
All work found under this repository is licensed under the Apache