feat: Go backend, enhanced search, new widgets, Docker deploy
Major changes: - Add Go backend (backend/) with microservices architecture - Enhanced master-agents-svc: reranker, content-classifier, stealth-crawler, proxy-manager, media-search, fastClassifier, language detection - New web-svc widgets: KnowledgeCard, ProductCard, ProfileCard, VideoCard, UnifiedCard, CardGallery, InlineImageGallery, SourcesPanel, RelatedQuestions - Improved discover-svc with discover-db integration - Docker deployment improvements (Caddyfile, vendor.sh, BUILD.md) - Library-svc: project_id schema migration - Remove deprecated finance-svc and travel-svc - Localization improvements across services Made-with: Cursor
This commit is contained in:
63
backend/deploy/k8s/thread-svc.yaml
Normal file
63
backend/deploy/k8s/thread-svc.yaml
Normal file
@@ -0,0 +1,63 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: thread-svc
|
||||
namespace: gooseek
|
||||
labels:
|
||||
app: thread-svc
|
||||
spec:
|
||||
replicas: 2
|
||||
selector:
|
||||
matchLabels:
|
||||
app: thread-svc
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: thread-svc
|
||||
spec:
|
||||
containers:
|
||||
- name: thread-svc
|
||||
image: gooseek/backend:latest
|
||||
command: ["/app/thread-svc"]
|
||||
ports:
|
||||
- containerPort: 3027
|
||||
envFrom:
|
||||
- configMapRef:
|
||||
name: gooseek-config
|
||||
- secretRef:
|
||||
name: gooseek-secrets
|
||||
env:
|
||||
- name: THREAD_SVC_PORT
|
||||
value: "3027"
|
||||
resources:
|
||||
requests:
|
||||
memory: "128Mi"
|
||||
cpu: "100m"
|
||||
limits:
|
||||
memory: "512Mi"
|
||||
cpu: "500m"
|
||||
readinessProbe:
|
||||
httpGet:
|
||||
path: /ready
|
||||
port: 3027
|
||||
initialDelaySeconds: 5
|
||||
periodSeconds: 10
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /health
|
||||
port: 3027
|
||||
initialDelaySeconds: 10
|
||||
periodSeconds: 30
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: thread-svc
|
||||
namespace: gooseek
|
||||
spec:
|
||||
selector:
|
||||
app: thread-svc
|
||||
ports:
|
||||
- port: 3027
|
||||
targetPort: 3027
|
||||
type: ClusterIP
|
||||
Reference in New Issue
Block a user