Skip to content

Commit 77dbf8e

Browse files
committed
Add the assignment to deploy v4 of the demo
[refs #52bc410e062d]
1 parent 3b8577a commit 77dbf8e

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

swarm/assignment1.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
## Deploy a demo application
2+
* Create an overlay network
3+
* Create a service for jfahrer/swarm-demo-frontend:v4
4+
* Call it demo-frontend
5+
* Attach the service to the overlay network
6+
* Create a service for jfahrer/swarm-demo-lb:v1
7+
* Call it demo-lb
8+
* Attach the service to the overlay network
9+
* Publish port 80
10+
* Set environment variables (--env)
11+
* PROXY_UPSTREAM=demo-frontend:8080
12+
* Use your browser to verify that it works
13+
* http://localhost
14+
* Scale the demo-frontend service to 5 replicas
15+
* Update the demo-frontend service to use jfahrer/swarm-demo-frontend:v3
16+
* rollback

0 commit comments

Comments
 (0)