This is very useful one. I would prefer it to be a separate compose file so you could attach other backend compose files. Something like this:
docker compose \
-f openleetcode.yaml \
-f backends/piston/docker-compose.yml \
run --rm openleetcode submit /work/solution.py --id 1
We also need to support intercepting the OPENLEETCODE_BACKEND_URL environment for this.
This is very useful one. I would prefer it to be a separate compose file so you could attach other backend compose files. Something like this:
docker compose \ -f openleetcode.yaml \ -f backends/piston/docker-compose.yml \ run --rm openleetcode submit /work/solution.py --id 1We also need to support intercepting the
OPENLEETCODE_BACKEND_URLenvironment for this.