21 lines
557 B
YAML
21 lines
557 B
YAML
server:
|
|
addr: ":8080"
|
|
|
|
db:
|
|
driver: "mysql"
|
|
# MySQL DSN: user:pass@tcp(host:port)/db?charset=utf8mb4&parseTime=True&loc=Local
|
|
dsn: "root:root@tcp(127.0.0.1:3306)/cockpit?charset=utf8mb4&parseTime=True&loc=Local"
|
|
|
|
auth:
|
|
accessTokenSecret: "local-dev-access-2026-04-02-2nB9z5o7c1T4mV8q"
|
|
refreshTokenSecret: "local-dev-refresh-2026-04-02-X6h3Qp0k9W2sJ7dN"
|
|
accessTokenTtl: "15m"
|
|
refreshTokenTtl: "720h"
|
|
|
|
cors:
|
|
allowOrigins:
|
|
- "http://localhost:5173"
|
|
- "http://127.0.0.1:5173"
|
|
- "http://localhost:5174"
|
|
- "http://127.0.0.1:5174"
|