forked from Cookies_Github_mirror/AquaDX
[RF] AquaMai configuration refactor (#82)
更新了配置文件格式,原有的配置文件将被自动无缝迁移,详情请见新的配置文件中的注释(例外:`SlideJudgeTweak` 不再默认启用) 旧配置文件将被重命名备份,如果更新到此版本遇到 Bug 请联系我们 Updated configuration file schema. The old config file will be migrated automatically and seamlessly. See the comments in the new configuration file for details. (Except for `SlideJudgeTweak` is no longer enabled by default) Your old configuration file will be renamed as a backup. If you encounter any bug with this version, please contact us.
This commit is contained in:
@@ -29,7 +29,7 @@ allnet.server.redirect=https://aquadx.net
|
||||
## Http Server Port
|
||||
## Only change this if you have a reverse proxy running.
|
||||
## The game rely on 80 port for boot up command
|
||||
server.port=80
|
||||
server.port=8080
|
||||
|
||||
## Static file server
|
||||
## This is used to server static files in /web/ directory, which is Aquaviewer
|
||||
@@ -87,15 +87,15 @@ spring.servlet.multipart.max-request-size=20MB
|
||||
## Database Setting
|
||||
|
||||
########## For Sqlite ##########
|
||||
spring.datasource.driver-class-name=org.sqlite.JDBC
|
||||
spring.datasource.url=jdbc:sqlite:data/db.sqlite
|
||||
#spring.datasource.driver-class-name=org.sqlite.JDBC
|
||||
#spring.datasource.url=jdbc:sqlite:data/db.sqlite
|
||||
|
||||
########## For MariaDB ##########
|
||||
#spring.datasource.driver-class-name=org.mariadb.jdbc.Driver
|
||||
#spring.datasource.username=
|
||||
#spring.datasource.password=
|
||||
#spring.datasource.url=jdbc:mariadb://localhost:3306/insert_db_name_here?allowPublicKeyRetrieval=true&useSSL=false
|
||||
#spring.datasource.hikari.maximum-pool-size=10
|
||||
spring.datasource.driver-class-name=org.mariadb.jdbc.Driver
|
||||
spring.datasource.username=aqua
|
||||
spring.datasource.password=aqua
|
||||
spring.datasource.url=jdbc:mariadb://localhost:3306/aqua?allowPublicKeyRetrieval=true&useSSL=false
|
||||
spring.datasource.hikari.maximum-pool-size=10
|
||||
|
||||
################################
|
||||
## AquaNet Settings
|
||||
|
||||
Reference in New Issue
Block a user