Logo
Explore Help
Sign In
kaezhou/muyu-apiserver
1
0
Fork 0
You've already forked muyu-apiserver
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
muyu-apiserver/deploy/Dockerfile.graphsync

9 lines
127 B
Docker
Raw Normal View History

feat: multi-tenant CRM with PostgreSQL graph, tenant isolation, and Casbin RBAC - JWT claims extended with tenantId; login enforces strict tenant verification - AuthorityMiddleware: tenant scope check + Casbin path permission + anti-spoofing - CRM relation API (upstream/downstream one-hop, create/update/history, full graph) - CrmRepo backed by PostgreSQL with $N placeholders - gRPC tenant propagation via UnaryClientInterceptor (x-tenant-id metadata) - All legacy tables (12) gain tenant_id column with indexes - All model queries inject WHERE tenant_id filter - Casbin gorm-adapter downgraded to v3.28.0 for v2 compatibility - GraphSyncWorker (Kafka -> Neo4j) with idempotent MERGE - Full graph API restricted to admin role only - Database migrations for MySQL (CRM tables + tenant columns) and PostgreSQL (CRM init) - Docker Compose: added postgres service to main stack, graph stack with Kafka/Debezium/Neo4j Made-with: Cursor
2026-03-30 02:53:55 +00:00
FROM alpine:3.19
RUN apk add --no-cache ca-certificates tzdata
WORKDIR /app
COPY deploy/bin/graphsync .
CMD ["./graphsync"]
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.8 Page: 20ms Template: 0ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API