You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+74-1Lines changed: 74 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -58,6 +58,18 @@ We use [Supervisord](http://supervisord.org/) to bootstrap the following service
58
58
59
59
You don't have to run all of these services - if you're not using Kubernetes, the status and Prometheus exporters are likely to be of little use to you, in which case we would suggest setting DISABLE_MONITORING to 'true' to only have an Nginx listening on 0.0.0.0:80 and a PHP-FPM socket at /run/php.sock.
60
60
61
+
## Example Container
62
+
63
+
There is an example container in [examples/hello-world](examples/hello-world). To run it:
64
+
65
+
```bash
66
+
cd examples/hello-world
67
+
docker build -t example .
68
+
docker run -p 8080:80 example
69
+
```
70
+
71
+
You should be able to visit the container on http://127.0.0.1:8080/ and see the contents of index.php from /examples/hello-world/src.
72
+
61
73
# The worker mode/command
62
74
63
75
The worker mode is used when you want to run a worker-type task in this container. Usually this means something like php artisan queue:work.
0 commit comments