mirror of https://github.com/hykilpikonna/AquaDX
31 lines
1.2 KiB
Properties
31 lines
1.2 KiB
Properties
## AimeDb server setting
|
|
aimedb.server.enable=true
|
|
aimedb.server.port=22345
|
|
## Server host return to client when boot up.
|
|
## Please notice DIVA 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
|
|
spring.flyway.baseline-on-migrate=true
|
|
spring.flyway.locations=classpath:db/migration/{vendor}
|
|
########## 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.properties.hibernate.dialect=org.hibernate.dialect.MariaDB10Dialect
|
|
## You can add any Spring Boot properties below |