- Install Docker and Docker Compose.
- Download and extract release archive:
wget https://github.com/judge0/api/releases/download/vX.Y.Z/judge0-api-vX.Y.Z-https.zip
unzip judge0-api-vX.Y.Z-https.zip
- Change directory to
judge0-api-vX.Y.Z-https
:
cd judge0-api-vX.Y.Z-https
- Edit
docker-compose.yml
and change variables VIRTUAL_HOST
, LETSENCRYPT_HOST
and LETSENCRYPT_EMAIL
.
- Run all services and wait few seconds until everything is initialized:
docker-compose up -d db redis
sleep 10s
docker-compose up -d
sleep 5s
- Your instance of Judge0 API vX.Y.Z is now available at
https://<YOUR DOMAIN>
.
- Install Docker and Docker Compose.
- Download and extract release archive:
wget https://github.com/judge0/api/releases/download/vX.Y.Z/judge0-api-vX.Y.Z.zip
unzip judge0-api-vX.Y.Z.zip
- Run all services and wait few seconds until everything is initialized:
cd judge0-api-vX.Y.Z
docker-compose up -d db redis
sleep 10s
docker-compose up -d
sleep 5s
- Your instance of Judge0 API vX.Y.Z is now available at
http://<IP ADDRESS OF YOUR SERVER>
.