初始化项目
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
ktor:
|
||||
application:
|
||||
modules:
|
||||
- com.bbit.ticket.ApplicationKt.module
|
||||
deployment:
|
||||
port: 8070
|
||||
|
||||
app:
|
||||
name: "Ticket"
|
||||
env: "local"
|
||||
|
||||
database:
|
||||
url: "jdbc:postgresql://localhost:5432/ticket"
|
||||
user: "ticket"
|
||||
password: "ticket_password"
|
||||
maximumPoolSize: 16
|
||||
minimumIdle: 4
|
||||
|
||||
redis:
|
||||
url: "redis://127.0.0.1:6379"
|
||||
password: "ticket_password"
|
||||
|
||||
security:
|
||||
jwt:
|
||||
issuer: "platform-a"
|
||||
audience: "platform-a-admin"
|
||||
realm: "Platform A"
|
||||
secret: "change-me-to-a-strong-secret"
|
||||
accessTokenTtlMinutes: 120
|
||||
|
||||
cors:
|
||||
allowedHosts: "localhost:5173,127.0.0.1:5173"
|
||||
Reference in New Issue
Block a user