mirror of
https://github.com/nagisa77/OpenIsle.git
synced 2026-02-23 22:50:51 +08:00
22 lines
749 B
Properties
22 lines
749 B
Properties
spring.datasource.url=${MYSQL_URL:jdbc:mysql://localhost:3306/openisle}
|
|
spring.datasource.username=${MYSQL_USER:root}
|
|
spring.datasource.password=${MYSQL_PASSWORD:password}
|
|
spring.jpa.hibernate.ddl-auto=update
|
|
|
|
resend.api.key=${RESEND_API_KEY:}
|
|
cos.base-url=${COS_BASE_URL:https://example.com}
|
|
cos.secret-id=${COS_SECRET_ID:}
|
|
cos.secret-key=${COS_SECRET_KEY:}
|
|
cos.region=${COS_REGION:ap-guangzhou}
|
|
cos.bucket-name=${COS_BUCKET_NAME:}
|
|
|
|
# Image upload configuration
|
|
app.upload.check-type=${UPLOAD_CHECK_TYPE:true}
|
|
app.upload.max-size=${UPLOAD_MAX_SIZE:5242880}
|
|
|
|
app.jwt.secret=${JWT_SECRET:ChangeThisSecretKeyForJwt}
|
|
app.jwt.expiration=${JWT_EXPIRATION:86400000}
|
|
|
|
# Post publish mode: DIRECT or REVIEW
|
|
app.post.publish-mode=${POST_PUBLISH_MODE:DIRECT}
|