This repository contains the instructions for building and deploying Stadium,
a platform built for students to compete between them to achieve the optimized
code.
There is the option to build your own images and self-host them. Be aware that you should change the deployment files with your own images.
git clone https://github.com/adsw-upm/stadium_back
cd stadium_back
image_repo='ghcr.io'
org_name='adsw-upm'
image_name='stadium_back'
./build_and_push.sh "$image_repo" "$org_name" "$image_name"git clone https://github.com/adsw-upm/stadium_back
cd stadium_back
image_repo='ghcr.io'
org_name='adsw-upm'
image_name='stadium_back'
./build_and_push.sh "$image_repo" "$org_name" "$image_name"Both modules are developed with the intention of multiple instances of them and the option to scale them independently, for this reason they are contenerized.
In this project there included a template for the docker compose and kubernetes deployments. Be awere of the requirements needed for every deployment.
The docker compose deployment does not require any special pre-requisites.
docker compose -f ./deployments/docker_compose/docker-compose.yml up -dThe kubernetes deployment requires the following pre-requisites:
- Kubernetes instace already working
helminstalled- Longhorn installed
[!TODO]
helm install ...