2015-08-15 06:50:22 +00:00
|
|
|
# coding=utf-8
|
|
|
|
redis_config = {
|
2015-08-16 00:47:03 +00:00
|
|
|
"host": "121.42.32.129",
|
2015-08-15 06:50:22 +00:00
|
|
|
"port": 6379,
|
|
|
|
"db": 0
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
docker_config = {
|
2015-08-17 04:48:10 +00:00
|
|
|
"image_name": " a7673b55d263",
|
2015-08-15 06:50:22 +00:00
|
|
|
"docker_path": "docker",
|
|
|
|
"shell": True
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2015-08-15 09:00:55 +00:00
|
|
|
test_case_dir = "/root/test_case/"
|
|
|
|
source_code_dir = "/root/"
|
|
|
|
|
2015-08-15 06:50:22 +00:00
|
|
|
|
2015-08-17 04:48:10 +00:00
|
|
|
submission_db = {
|
2015-08-15 09:00:55 +00:00
|
|
|
"host": "127.0.0.1",
|
2015-08-17 04:48:10 +00:00
|
|
|
"port": 3306,
|
|
|
|
"db": "oj_submission",
|
|
|
|
"user": "root",
|
|
|
|
"password": "root"
|
2015-08-15 06:50:22 +00:00
|
|
|
}
|