Skip to content

Commit 16e092d

Browse files
cache added to submssion test cases
1 parent 42976ca commit 16e092d

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

docker-compose.judge0.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ services:
1313
volumes:
1414
- ./judge0.conf:/judge0.conf:ro
1515
ports:
16-
- "3000:3000"
16+
- "5000:3000"
1717
privileged: true
1818
<<: *default-logging
1919
restart: always

docker-compose.yml

+1-3
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,9 @@ services:
1919

2020
command: >
2121
sh -c " python manage.py wait_for_db &&
22-
python manage.py makemigrations core contest question submission &&
23-
python manage.py migrate &&
2422
python manage.py runserver 0.0.0.0:8000"
2523
environment:
26-
- JUDGE0_BASE_URL=http://172.17.0.1:3000
24+
- JUDGE0_BASE_URL=http://172.17.0.1:5000
2725
- JUDGE0_RUN_CALLBACK_URL=http://172.17.0.1:8000/callback/run
2826
- JUDGE0_SUBMIT_CALLBACK_URL=http://172.17.0.1:8000/callback/submit
2927
env_file:

judge0.conf

+1-1
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ MAX_FILE_SIZE=
305305

306306
# Maximum custom MAX_FILE_SIZE.
307307
# Default: 4096
308-
MAX_MAX_FILE_SIZE=
308+
MAX_MAX_FILE_SIZE=102400
309309

310310
# Run each program this many times and take average of time and memory.
311311
# Default: 1

0 commit comments

Comments
 (0)