Skip to content

adsw-upm/Stadium

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Stadium

This repository contains the instructions for building and deploying Stadium, a platform built for students to compete between them to achieve the optimized code.

Build

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.

Build front container

Stadium front

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"

Build back container

Stadium back

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"

Deployment

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.

Docker Compose

The docker compose deployment does not require any special pre-requisites.

docker compose -f ./deployments/docker_compose/docker-compose.yml up -d

Kubernetes

The kubernetes deployment requires the following pre-requisites:

  • Kubernetes instace already working
  • helm installed
  • Longhorn installed
[!TODO]
helm install ...

About

Stadium general repository

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published