mirror of
https://github.com/hanzoai/market.git
synced 2026-11-03 01:29:00 +00:00
- Repo transferred hanzobot/hub → hanzoai/market (matches owned hanzo.market domain) - npm package: bothub → @hanzoai/market, packages/bothub → packages/market - bothub-schema → @hanzoai/market-schema - CLI binary: bothub → market - Brand: Bot Hub → Hanzo Market across ~95 user-facing surfaces (README, docs, k8s, Dockerfile, public/manifest.json, OG image, CLI banner, site config, theme) - Brand-neutral white-label: src/brand/ owns BrandConfig + BrandTheme + loader, public/brands/<id>.json presets for hanzo, zoo, lux, pars, liquidity, generic - BRAND_ID env at build picks default; ConfigMap-mounted brand.json overrides at runtime - Legacy paths retained for compat: ~/.bothub, .bothubignore, /.well-known/bothub.json, bothub-theme localStorage key, LEGACY_HOSTS for hub.hanzo.bot/clawhub.ai - Fixed broken sed-replace artifacts in packages/market/src/cli/botConfig.test.ts - Drops Clawd/OpenClaw dead brand surface, keeps Clawdis* schema types and clawd skill directory paths (backward compat for installed bot products)
117 lines
3.0 KiB
YAML
117 lines
3.0 KiB
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: market
|
|
namespace: market
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: market
|
|
strategy:
|
|
type: Recreate
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: market
|
|
spec:
|
|
imagePullSecrets:
|
|
- name: ghcr-secret
|
|
containers:
|
|
- name: market
|
|
image: ghcr.io/hanzoai/market:latest
|
|
imagePullPolicy: Always
|
|
ports:
|
|
- containerPort: 3000
|
|
name: web
|
|
- containerPort: 3001
|
|
name: api
|
|
- containerPort: 8090
|
|
name: base
|
|
env:
|
|
- name: NODE_ENV
|
|
value: production
|
|
- name: PORT
|
|
value: "3001"
|
|
- name: WEB_PORT
|
|
value: "3000"
|
|
- name: BASE_PORT
|
|
value: "8090"
|
|
- name: BASE_URL
|
|
value: "http://127.0.0.1:8090"
|
|
- name: BASE_ADMIN_EMAIL
|
|
valueFrom:
|
|
secretKeyRef:
|
|
name: market-secrets
|
|
key: BASE_ADMIN_EMAIL
|
|
optional: true
|
|
- name: BASE_ADMIN_PASSWORD
|
|
valueFrom:
|
|
secretKeyRef:
|
|
name: market-secrets
|
|
key: BASE_ADMIN_PASSWORD
|
|
optional: true
|
|
- name: IAM_URL
|
|
value: "https://hanzo.id"
|
|
- name: IAM_CLIENT_ID
|
|
valueFrom:
|
|
secretKeyRef:
|
|
name: market-secrets
|
|
key: IAM_CLIENT_ID
|
|
optional: true
|
|
- name: IAM_CLIENT_SECRET
|
|
valueFrom:
|
|
secretKeyRef:
|
|
name: market-secrets
|
|
key: IAM_CLIENT_SECRET
|
|
optional: true
|
|
- name: S3_ENDPOINT
|
|
value: "http://minio.hanzo.svc:9000"
|
|
- name: S3_BUCKET
|
|
value: "market-files"
|
|
- name: OPENAI_API_KEY
|
|
valueFrom:
|
|
secretKeyRef:
|
|
name: market-secrets
|
|
key: OPENAI_API_KEY
|
|
optional: true
|
|
volumeMounts:
|
|
- name: base-data
|
|
mountPath: /app/hz_data
|
|
readinessProbe:
|
|
httpGet:
|
|
path: /health
|
|
port: 3001
|
|
initialDelaySeconds: 10
|
|
periodSeconds: 10
|
|
livenessProbe:
|
|
httpGet:
|
|
path: /health
|
|
port: 3001
|
|
initialDelaySeconds: 15
|
|
periodSeconds: 30
|
|
resources:
|
|
requests:
|
|
cpu: 200m
|
|
memory: 512Mi
|
|
limits:
|
|
cpu: "1"
|
|
memory: 1Gi
|
|
volumes:
|
|
- name: base-data
|
|
persistentVolumeClaim:
|
|
claimName: market-base-data
|
|
---
|
|
apiVersion: v1
|
|
kind: PersistentVolumeClaim
|
|
metadata:
|
|
name: market-base-data
|
|
namespace: market
|
|
spec:
|
|
accessModes:
|
|
- ReadWriteOnce
|
|
storageClassName: do-block-storage
|
|
resources:
|
|
requests:
|
|
storage: 10Gi
|