与前端匹配的后端代码

This commit is contained in:
BBIT-Kai
2025-05-12 13:57:27 +08:00
parent cdaa958e75
commit 965141def2
66 changed files with 4012 additions and 42 deletions
+30
View File
@@ -0,0 +1,30 @@
ktor:
application:
modules:
- ink.snowflake.server.ApplicationKt.module
deployment:
port: 8089
connectionGroupSize: 20
workerGroupSize: 50
callGroupSize: 100
shutdownGracePeriod: 20000
shutdownTimeout: 30000
security:
jwt:
audience: "snowflake-ink"
domain: "https://snowflake.ink/"
realm: "Snowflake Server"
secret: "secret_jwt"
database:
url: "jdbc:postgresql://localhost:5432/ktor"
driver: "org.postgresql.Driver"
user: "postgres"
password: "123456"
mail:
smtp:
host: "smtp.exmail.qq.com"
port: 465
user: "account@snowflake.ink"
password: "7ZYPc75xCViqSrCg"