mirror of
https://github.com/iflytek/skillhub.git
synced 2026-08-28 11:25:00 +00:00
* docs: simplify runtime script usage Unify to use runtime.sh for all deployment commands, removing the distinction between "official images" and "Aliyun mirror". The --aliyun parameter is preserved for users in China to specify the mirror. Changes: - Remove runtime-github.sh references, use runtime.sh uniformly - Default command uses GHCR images - Add --aliyun parameter for China users - Update README.md, README_zh.md, and docs/skillhub/ quickstart files * docs: consolidate documentation links with clear descriptions Merge the two documentation links into a single "Documentation" section with clear descriptions of each: - User Guide: skill publishing, search, CLI usage - Developer Docs: architecture, API reference, deployment This makes it easier for users to find the right documentation. * docs: consolidate documentation links with clear descriptions Merge the two documentation links into a single "Documentation" section with clear descriptions of each: - User Guide: skill publishing, search, CLI usage - Developer Docs: architecture, API reference, deployment This makes it easier for users to find the right documentation. * fix: include --home parameter in shutdown command When starting with a custom --home directory, the generated shutdown command now includes the same --home parameter to ensure it can find the correct compose files. * docs: add Kubernetes deployment guide with overlays structure - Restructure k8s configs with base/overlays pattern for flexibility - Add overlays/with-infra for full deployment (PostgreSQL + Redis) - Add overlays/external for external database scenarios - Add comprehensive ConfigMap with bootstrap admin settings - Fix health check path to /actuator/health (auth issue) - Add SKILLHUB_API_UPSTREAM env for frontend - Set SESSION_COOKIE_SECURE=false for HTTP environments - Add Chinese and English documentation in docs/skillhub/ * docs: update k8s README with complete config reference
44 lines
1.1 KiB
YAML
44 lines
1.1 KiB
YAML
apiVersion: v1
|
||
kind: ConfigMap
|
||
metadata:
|
||
name: skillhub-config
|
||
data:
|
||
# Redis 配置
|
||
# 使用外部 Redis:修改为外部主机地址
|
||
# 使用内置 Redis(overlays/with-infra):保持 redis
|
||
redis-host: redis
|
||
redis-port: "6379"
|
||
|
||
# 技能存储路径
|
||
storage-base-path: /var/lib/skillhub/storage
|
||
|
||
# 存储配置
|
||
# local: 本地存储(默认), s3: S3/OSS 对象存储
|
||
skillhub-storage-provider: local
|
||
|
||
# 技能扫描器配置
|
||
skill-scanner-enabled: "true"
|
||
skill-scanner-url: http://skillhub-scanner:8000
|
||
skill-scanner-mode: upload
|
||
|
||
# Bootstrap 管理员配置(非敏感)
|
||
bootstrap-admin-enabled: "true"
|
||
bootstrap-admin-user-id: docker-admin
|
||
bootstrap-admin-username: admin
|
||
bootstrap-admin-display-name: Platform Admin
|
||
bootstrap-admin-email: admin@example.com
|
||
|
||
# Session 配置
|
||
# HTTP 环境设为 false,HTTPS 环境设为 true
|
||
session-cookie-secure: "false"
|
||
---
|
||
apiVersion: v1
|
||
kind: PersistentVolumeClaim
|
||
metadata:
|
||
name: skillhub-storage-pvc
|
||
spec:
|
||
accessModes:
|
||
- ReadWriteOnce
|
||
resources:
|
||
requests:
|
||
storage: 10Gi
|