ICPC HUE: bringing back Run Tests with a self-hosted Judge0
- Role
- Infrastructure contribution to a project led by its original maintainer
- Dates
- Merged 21 Sep 2026
- Stack
- Azure VM, Docker Compose, Nginx, Judge0, Next.js
- people use the platform every day
- ~200
- memory cap per run
- 512 MB

The problem
The university’s competitive-programming platform lost its Run Tests button when the public judging API it relied on stopped working.
What I built
I self-hosted Judge0 on an Azure VM, because its sandbox needs privileges a container platform won’t grant, put it behind Nginx and TLS with the backend port closed to the outside, capped each run at 512 MB of memory, and reconnected the platform’s existing route to it. Run Tests has been back online since 21 Sep 2026.
Architecture
The platform calls its existing API route; Nginx terminates TLS on the VM and forwards to Judge0 on a port that only listens locally.