mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-12-24 01:11:52 +00:00
19aac52bcd
There are too many files of the old installation script. Now this could be only three files. Add support for docker automated build, so we can get the latest build form docker hub every time. The script can automaticly search the latest jdk builds and get them. It is no need to download by yourself. Make some changes to .default-config.php to generate config file. This new installation script can also be used for traditional installation. Supports some situations that does not provide docker environment such as WSL or OpenVZ virtualization technology. Bump mysql-server into 5.6 which 5.5.57 has some 奥妙重重的 problems in docker container.
64 lines
1.2 KiB
PHP
64 lines
1.2 KiB
PHP
<?php
|
|
return [
|
|
'profile' => [
|
|
'oj-name' => 'Universal Online Judge',
|
|
'oj-name-short' => 'UOJ',
|
|
'administrator' => 'root',
|
|
'admin-email' => 'admin@local_uoj.ac',
|
|
'QQ-group' => '',
|
|
'ICP-license' => ''
|
|
],
|
|
'database' => [
|
|
'database' => 'app_uoj233',
|
|
'username' => 'root',
|
|
'password' => '_database_password_',
|
|
'host' => '127.0.0.1'
|
|
],
|
|
'web' => [
|
|
'domain' => null,
|
|
'main' => [
|
|
'protocol' => 'http',
|
|
'host' => '_httpHost_',
|
|
'port' => 80
|
|
],
|
|
'blog' => [
|
|
'protocol' => 'http',
|
|
'host' => '_httpHost_',
|
|
'port' => 80
|
|
]
|
|
],
|
|
'security' => [
|
|
'user' => [
|
|
'client_salt' => 'salt0'
|
|
],
|
|
'cookie' => [
|
|
'checksum_salt' => ['salt1', 'salt2', 'salt3']
|
|
],
|
|
],
|
|
'mail' => [
|
|
'noreply' => [
|
|
'username' => 'noreply@local_uoj.ac',
|
|
'password' => '_mail_noreply_password_',
|
|
'host' => 'smtp.local_uoj.ac',
|
|
'secure' => '',
|
|
'port' => 25
|
|
]
|
|
],
|
|
'judger' => [
|
|
'socket' => [
|
|
'port' => '233',
|
|
'password' => '_judger_socket_password_'
|
|
]
|
|
],
|
|
'svn' => [
|
|
'our-root' => [
|
|
'username' => 'our-root',
|
|
'password' => '_svn_ourroot_password_'
|
|
]
|
|
],
|
|
'switch' => [
|
|
'web-analytics' => false,
|
|
'blog-use-subdomain' => false
|
|
]
|
|
];
|