https://github.com/michaelbunch/docker-roadrunner
https://github.com/michaelbunch/docker-roadrunner
docker php
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/michaelbunch/docker-roadrunner
- Owner: michaelbunch
- Created: 2019-05-23T15:19:21.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-08-26T13:24:54.000Z (almost 7 years ago)
- Last Synced: 2025-03-15T07:46:11.568Z (over 1 year ago)
- Topics: docker, php
- Language: Dockerfile
- Size: 2.93 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# RoadRunner
A simple container for running a PHP application using the [RoadRunner](https://github.com/spiral/roadrunner) application server.
## Build Image
```
docker build -t michaelbunch/roadrunner: .
```
## How it works
Inside the container is a `/app` folder for your project code. RoadRunner will look in that
folder for a `.rr.yaml` file when starting.
In your `Dockerfile` ADD/COPY the application root to `/app` in the container.
## Run the container
```
docker run --name rr_app -p "8080:8080" michaelbunch/roadrunner:latest
```
This will run the `michaelbunch/roadrunner` container under the name `rr_app` on port `8080`.