mirror of
https://github.com/MewoLab/AquaDX.git
synced 2026-02-07 04:57:27 +08:00
Initial Commit
This commit is contained in:
30
src/main/resources/application.properties
Normal file
30
src/main/resources/application.properties
Normal file
@@ -0,0 +1,30 @@
|
||||
## AimeDb server setting
|
||||
aimedb.server.enable=true
|
||||
aimedb.server.port=22345
|
||||
## Server host return to client when boot up.
|
||||
## Please notice some game won't work with localhost or 127.0.0.1
|
||||
## Set this to same port to Http Server Port
|
||||
allnet.server.host=localhost
|
||||
allnet.server.port=80
|
||||
## 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
|
||||
## Logging
|
||||
spring.servlet.multipart.max-file-size=10MB
|
||||
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
|
||||
#auto schema update will case sqlite error
|
||||
spring.jpa.hibernate.ddl-auto=none
|
||||
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.SQLiteDialect
|
||||
########## For Mysql ##########
|
||||
#spring.datasource.driver-class-name=org.mariadb.jdbc.Driver
|
||||
#spring.datasource.username=
|
||||
#spring.datasource.password=
|
||||
#spring.datasource.url=jdbc:mariadb://localhost:3306/?useSSL=false
|
||||
#spring.jpa.hibernate.ddl-auto=update
|
||||
#spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MariaDB10Dialect
|
||||
## You can add any Spring Boot properties below
|
||||
Reference in New Issue
Block a user