A simple Twitter clone for the BSDSESM1KU course at ITU. Devops have been the main focus of this project.
By DevopsGruppeConnie (group i)
- Navigate to root of repository:
cd path/to/repository- Build and run development compose:
docker compose -f docker-compose-db.yml -f docker-compose-app.yml -f docker-compose.dev.yml up --build- Reached at:
- Api: localhost:5000.
- Web app: localhost:5001.
- Monitoring: localhost:3000.
- Terraform
- A valid terraform.tfvars is in the ./infra directory,
- Authentication to cecilieelkjaer @ dockerhub (our artifact store)
- Navigate to root of repository:
cd path/to/repository- Build and push docker containers to artifact store
docker compose -f docker-compose-app.yml -f docker-compose-db.yml build
docker compose -f docker-compose-app.yml -f docker-compose-db.yml push- Navigate to the ./infra directory:
cd ./infra- Deploy:
terraform init
terraform applyReleases are only made once there has been pushed with a tag. Create a release like this:
git tag v1.0.0
git push origin v1.0.0Tag must begin with v (fx v1.2.3). Pushing with a tag will not trigger deploy.



