OnlineJudge/judge/judger_controller/settings.py

32 lines
504 B
Python
Raw Normal View History

2015-08-15 06:50:22 +00:00
# coding=utf-8
redis_config = {
2015-08-15 09:00:55 +00:00
"host": "121.42.196.141",
2015-08-15 06:50:22 +00:00
"port": 6379,
"db": 0
}
docker_config = {
2015-08-15 09:00:55 +00:00
"image_name": "d622347336b8",
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-15 09:00:55 +00:00
celery_mongodb_config = {
"host": "127.0.0.1",
"username": "root",
"password": "root",
"port": 27017
}
2015-08-15 06:50:22 +00:00
2015-08-15 09:00:55 +00:00
docker_mongodb_config = {
"host": "192.168.42.1",
2015-08-15 06:50:22 +00:00
"username": "root",
"password": "root",
"port": 27017
}