To run the application, you will have to run the docker-compose file. To do this, use the following command:
docker-compose up -d
This will create/update the containers from the latest images and run them detached (won't output anything to console).
Everything will be bundled inside a "group-project-q1-2022" application with all the services as containers.
most git desktop applications will automatically clone the submodules repositories when this repository is cloned.
If the submodule folders are empty (folders titled Q1-2022-...), open git in the repository folder and use the following command:
git clone --recurse-submodules
this will clone the repositories where those submodules are from.
To update the submodules, making them up-to-date with the latest commits, use the following command:
git submodule update --remote
This will get the latest commits on their respective branches
use "docker-compose up -d" to run the application in detached mode. This will run it within the docker environment and not output to the console.
<service name>:
container_name: <container name>
image: <image tag>
ports:
- "<external port to listen to>:<internal exposed port>"
the container name has to abide by the docker rules (no spaces and only ascii)
<service name>:
*enivronment:
- <environment variable>
*volumes:
- <volume directory>
the *names are examples, they are not mandatory to add