You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
126 lines
2.4 KiB
126 lines
2.4 KiB
{ |
|
"title": "SYZOJ", |
|
"hostname": "127.0.0.1", |
|
"port": "5283", |
|
"db": { |
|
"database": "syzoj", |
|
"username": "syzoj", |
|
"password": "@DATABASE_PASSWORD@", |
|
"host": "127.0.0.1" |
|
}, |
|
"logo": { |
|
"url": null, |
|
"width": null, |
|
"height": null |
|
}, |
|
"register_mail": false, |
|
"email": { |
|
"method": "aliyundm", |
|
"options": { |
|
"AccessKeyId": "xxxx", |
|
"AccessKeySecret": "xxxx", |
|
"AccountName": "xxxx" |
|
} |
|
}, |
|
"upload_dir": "uploads", |
|
"default": { |
|
"problem": { |
|
"time_limit": 1000, |
|
"memory_limit": 256 |
|
}, |
|
"user": { |
|
"show": true, |
|
"rating": 1500 |
|
} |
|
}, |
|
"sorting": { |
|
"ranklist": { |
|
"field": "rating", |
|
"order": "desc" |
|
}, |
|
"problem": { |
|
"field": "id", |
|
"order": "asc" |
|
} |
|
}, |
|
"limit": { |
|
"time_limit": 10000, |
|
"memory_limit": 1024, |
|
"data_size": 209715200, |
|
"testdata": 209715200, |
|
"submit_code": 102400, |
|
"submit_answer": 10485760, |
|
"custom_test_input": 20971520, |
|
"testdata_filecount": 100 |
|
}, |
|
"page": { |
|
"problem": 50, |
|
"problem_statistics": 10, |
|
"judge_state": 10, |
|
"ranklist_index": 20, |
|
"ranklist": 50, |
|
"discussion": 10, |
|
"article_comment": 10, |
|
"contest": 10, |
|
"edit_contest_problem_list": 10, |
|
"edit_problem_tag_list": 10 |
|
}, |
|
"enabled_languages": [ |
|
"cpp", |
|
"cpp11", |
|
"cpp17", |
|
"cpp-noilinux", |
|
"cpp11-noilinux", |
|
"cpp11-clang", |
|
"cpp17-clang", |
|
"c", |
|
"c-noilinux", |
|
"csharp", |
|
"java", |
|
"pascal", |
|
"python2", |
|
"python3", |
|
"nodejs", |
|
"ruby", |
|
"haskell" |
|
], |
|
"filter_enabled_languages": [ |
|
"cpp", |
|
"cpp11", |
|
"cpp17", |
|
"cpp-noilinux", |
|
"cpp11-noilinux", |
|
"cpp11-clang", |
|
"cpp17-clang", |
|
"c", |
|
"c-noilinux", |
|
"csharp", |
|
"java", |
|
"pascal", |
|
"python2", |
|
"python3", |
|
"nodejs", |
|
"ruby", |
|
"haskell" |
|
], |
|
"links": [ |
|
{ |
|
"title": "LibreOJ", |
|
"url": "https://loj.ac/" |
|
} |
|
], |
|
"session_secret": "@SESSION_SECRET@", |
|
"judge_token": "@JUDGE_TOKEN@", |
|
"redis": "redis://127.0.0.1:6379", |
|
"email_jwt_secret": "@EMAIL_JWT_SECRET@", |
|
"google_analytics": "UA-XXXXXXXX-X", |
|
"gravatar_url": "https://cdn.v2ex.com/gravatar", |
|
"cdnjs_url": "https://cdnjs.loli.net/ajax/libs", |
|
"self_cdn_url": "", |
|
"google_fonts": { |
|
"type": "like-google-fonts", |
|
"url": "https://fonts.loli.net" |
|
}, |
|
"no_cdn": false, |
|
"username_regex": "^[a-zA-Z0-9\\-\\_]+$" |
|
}
|
|
|