feat: centralized K8s infra — dev/prod environments

This commit is contained in:
admin
2026-07-26 21:33:02 +08:00
commit 9ebafb97fb
15 changed files with 613 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: lpt-config
namespace: lpt-dev
data:
# LPT AI Service
LLM_API_URL: https://api.siliconflow.cn/v1/chat/completions
LLM_MODEL: Qwen/Qwen2.5-32B-Instruct
LLM_TIMEOUT_MS: "60000"
LPT_AI-SERVICE_URL: http://lpt-ai:5199
PORT: "5199"
# Spring Boot Database
SPRING_DATASOURCE_URL: jdbc:mysql://mysql:3306/learning_progress_tracker?allowPublicKeyRetrieval=true&characterEncoding=utf-8&useSSL=false&serverTimezone=GMT%2B8