- run "vagrant up" to start the machine
- the "docker-compose up" command runs every time the vm is started or reloaded
- use "localhost:8123" on the host machine to access the nginx server on the guest machine:
- "localhost:8123" will throw an error, since no method is available on this route
- "localhost:8123/counter" will access the counters from the two web app containers, using round robin load balancing
- "localhost:8123/workers" will return an empty array, since no workers were created
- to stop the containers:
- run "vagrant ssh" in a new terminal
- "cd ./compose_cloud_project"
- "docker-compose down"
-
Notifications
You must be signed in to change notification settings - Fork 0
petarTrifunovic98/cloud-computing-2021
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published