ICT3102 Demo
Currently, this repo only contains code to demonstrate how communication between different containers is achieved.
Deployment
On VS Code
Right click on docker-compose.yaml
and select "docker compose up".
Other
From the terminal, change directory to project root folder, then run command docker compose up --build -d
Test
Using Docker Desktop
- Click on the three dots next to the vqa or vqg container, then select "open in terminal".
- Run command
python test_job_submit.py VQG:jobs Cyber-woman-corn-closeup.jpg
- Observe the logs in the other containers by clicking the three dots, then selecting "view details".
- To view the results, go back to the container's terminal and re-run the command.
Using Command Line
docker exec -it ict3102-vqa-1 bash
(orict3102-vqa-1
) to enter the container's terminal.- Run the same command from Using Docker Desktop step 2.
- Using another terminal/command prompt window, run
docker logs ict3102-vqg-1
(orict3102-vqa-1
) to view the log output of the respective containers. - Same as step 4 of Using Docker Desktop.