diff options
author | Valery Piashchynski <[email protected]> | 2022-02-10 21:40:10 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2022-02-10 21:40:10 +0300 |
commit | ec99bae2a622f9622209f738df6251b3cb5f4e76 (patch) | |
tree | 7d1e79139b939015d4dfc309eb9345207b1f43f3 /README.md | |
parent | 7a4338b218e0cc0c417497145ee74cbed1377a8b (diff) |
update README.md
Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 19 |
1 files changed, 17 insertions, 2 deletions
@@ -58,13 +58,28 @@ Features: Installation: -------- +> For getting roadrunner binary file you can use our docker image: `spiralscout/roadrunner:2.X.X` (more information about +> image and tags can be found [here](https://hub.docker.com/r/spiralscout/roadrunner/)) or use the GitHub package: `ghcr.io/roadrunner-server/roadrunner:2.7.7` +> + +- Docker: + +```docker +FROM ghcr.io/roadrunner-server/roadrunner:2.7.7 AS roadrunner +FROM php:8.1-cli + +COPY --from=roadrunner /usr/bin/rr /usr/local/bin/rr + +# USE THE RR +``` + +- CLI + ```bash $ composer require roadrunner-server/roadrunner:v2.0 nyholm/psr7 $ ./vendor/bin/rr get-binary ``` -> For getting roadrunner binary file you can use our docker image: `spiralscout/roadrunner:X.X.X` (more information about -> image and tags can be found [here](https://hub.docker.com/r/spiralscout/roadrunner/)) Configuration can be located in `.rr.yaml` file ([full sample](https://github.com/roadrunner-server/roadrunner/blob/master/.rr.yaml)): |