|
|
@ -39,8 +39,12 @@ fi |
|
|
|
|
|
|
|
docker run -d --network cloud_computing_project --network-alias cloud_computing_project_db --name cloud_computing_project_db mongo:4.4 |
|
|
|
|
|
|
|
sleep 1 |
|
|
|
|
|
|
|
docker run -dp 8081:8080 --network cloud_computing_project --network-alias cloud_computing_project_api cloud_computing_project_api |
|
|
|
|
|
|
|
sleep 1 |
|
|
|
|
|
|
|
docker run -d --network cloud_computing_project cloud_computing_project_traffic_light python traffic_light.py 11000 |
|
|
|
docker run -d --network cloud_computing_project cloud_computing_project_traffic_light python traffic_light.py 21000 |
|
|
|
docker run -d --network cloud_computing_project cloud_computing_project_traffic_light python traffic_light.py 31000 |
|
|
|