This repository is the official challenge repository for Lag and Crash 4.0.
The closed division contains teams with exactly five (5) members, each from either a secondary school, junior college, polytechnic, ITE or the equivalent.
The open division contains teams with any number of members, each from any educational institution; including non-students.
Each challenge in the challenges directory is categorised by its respective category, with at least one of the following subdirectories:
service
: Contains the service files for the challenge, i.eDockerfile
,docker-compose.yml
, etc.solution
: Contains the solution files for the challenge, and a writeup usually called inREADME.md
orwriteup.md
.dist
: Contains the distribution files given to the participants, if any.
Hosted challenges can be deployed via the provided docker-compose.yml file, hosted challenges are split into three docker profiles: wave1
, wave2
and wave3
.
Docker profiles (as far as I know) are only available in Docker Compose v2.0, which is currently in beta. To use Docker Compose v2.0, you can install it via the official documentation: here
To deploy a challenge, run the following command:
docker compose up -d [service_name]
To deploy a wave, run the following command:
docker compose up -d --profile wave[1/2/3]
You can deploy multiple or all profiles at once by running the following command:
docker compose up -d --profile wave1 --profile wave2 --profile wave3
We're open to contributions, feel free to open a pull request or an issue if any of the challenges are broken; but challenge authors may or may not actively maintain their challenges.
This repository should be assumed to be in a "frozen" state, meaning that you shouldn't expect quick responses to issues or pull requests.