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
DOC: Update the README to use Makefile for Docker images
The build process has been updated to use a Makefile. This patch
updates the README to reflect those changes for the Docker images.
It also updates the frontend/backends in the example to use
`mode http` and removes the `check-ssl` option from the backend
servers, which is not needed because they are running over plain HTTP.
Copy file name to clipboardExpand all lines: README.md
+13-11Lines changed: 13 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,7 @@ Illustrating the utility of haproxy as a load-balancer is best accomplished usin
16
16
1. Build the image:
17
17
18
18
```shell
19
-
docker build -t haproxy .
19
+
make build-image
20
20
```
21
21
22
22
2. Start the haproxy image in detached mode and map its secure, dataplane API port (`5556`) and the port used by the load balancer (`8085`) to the local host:
@@ -33,9 +33,9 @@ Illustrating the utility of haproxy as a load-balancer is best accomplished usin
12. Now that both web servers are connected to the load-balancer, use `curl` to query the load-balanced endpoint a few times to validate that both backend servers are being used:
134
136
135
137
```shell
136
-
$ for i in 1 2 3 4; do curl http://localhost:8085 && echo; done
138
+
$ for i in {1..4}; do curl http://localhost:8085 && echo; done
0 commit comments