We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5bb850c commit e7eaf28Copy full SHA for e7eaf28
compose_example/assignment2.md
@@ -0,0 +1,15 @@
1
+## Integrate the load balancer
2
+* Add the required environment variable to the .env file
3
+ * Set PROXY_UPSTREAM to `webapp:9292`
4
+* Remove the `web` service definition
5
+* Add a new service definition
6
+ * Call it `lb`
7
+ * Use your load balancer image
8
+ * Or use jfahrer/lb:v2
9
+ * Depend on the service `webapp`
10
+ * Make sure to assign the PROXY_UPSTREAM environment variable
11
+ * Publish port 80
12
+* Stop publishing the `webapp` service
13
+* Start the services using docker-compose
14
+* Use your browser to verify it works
15
+ * http://localhost
0 commit comments