44 lines
811 B
YAML
44 lines
811 B
YAML
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"
|
|
|
|
openapi:
|
|
queue:
|
|
issueWorkerCount: 4
|
|
queryWorkerCount: 4
|
|
maxPendingPerApiKey: 1000
|
|
queryDelaySeconds: 10
|
|
maxQueryPollCount: 30
|
|
maxAttemptCount: 3
|
|
rateLimit:
|
|
perApiKeyPerSecond: 20
|