deploy-test / build-and-deploy-test (push) Successful in 2m41s
Phase 3: 管理后台前端 (Vue3+Vite+Element Plus) - 登录页面/JWT认证/Pinia状态管理 - 首页大盘/站点管理/验证码日志/IP黑名单/套餐管理/系统设置 - 7个页面完整路由+API对接 Phase 4: 统计监控模块 - CaptchaLogAspect AOP自动记录 - RealtimeStatsService Redis实时计数 - HistoryStatsService 历史查询 - AnomalyDetectionService 异常检测 Phase 5: 部署和测试 - docker-compose.yml 5服务编排 - application-prod.yml 外部化配置 - CaptchaApiIntegrationTest 集成测试 - 前端 Dockerfile + nginx.conf
53 lines
1.1 KiB
YAML
53 lines
1.1 KiB
YAML
server:
|
|
port: 18200
|
|
|
|
spring:
|
|
datasource:
|
|
url: jdbc:postgresql://${DB_HOST:localhost}:${DB_PORT:5432}/${DB_NAME:captcha_forge}
|
|
username: ${DB_USER:pgsql}
|
|
password: ${DB_PASS:}
|
|
driver-class-name: org.postgresql.Driver
|
|
jpa:
|
|
hibernate:
|
|
ddl-auto: none
|
|
show-sql: false
|
|
properties:
|
|
hibernate:
|
|
dialect: org.hibernate.dialect.PostgreSQLDialect
|
|
sql:
|
|
init:
|
|
mode: never
|
|
|
|
data:
|
|
redis:
|
|
host: ${REDIS_HOST:localhost}
|
|
port: ${REDIS_PORT:6379}
|
|
password: ${REDIS_PASS:}
|
|
|
|
jackson:
|
|
date-format: yyyy-MM-dd HH:mm:ss
|
|
time-zone: Asia/Shanghai
|
|
|
|
captcha:
|
|
prefix: captcha
|
|
expire:
|
|
default: 120000
|
|
init-default-resource: true
|
|
local-cache-enabled: true
|
|
local-cache-size: 20
|
|
|
|
jwt:
|
|
secret: ${JWT_SECRET:tianai-captcha-jwt-secret-key-must-be-at-least-256-bits-long-for-hs256}
|
|
expiration: ${JWT_EXPIRATION:86400000}
|
|
|
|
minio:
|
|
endpoint: ${MINIO_ENDPOINT:http://localhost:9000}
|
|
access-key: ${MINIO_ACCESS_KEY:minioadmin}
|
|
secret-key: ${MINIO_SECRET_KEY:minioadmin}
|
|
bucket: ${MINIO_BUCKET:captcha-resources}
|
|
|
|
logging:
|
|
level:
|
|
cloud.tianai.captcha: INFO
|
|
root: WARN
|