mirror of
https://github.com/open-gitagent/langship.sh.git
synced 2026-08-03 07:21:04 +02:00
- Introduced NodePalette component to display draggable nodes categorized by type. - Implemented PipelineCanvas component to manage the flow of nodes and connections. - Integrated drag-and-drop functionality for adding nodes to the canvas. - Created a catalog of node types with associated metadata for rendering in the palette. - Established conversion functions between pipeline definitions and React Flow state. - Added inspector for editing node properties and managing connections. - Updated Next.js configuration for production and development environments. - Removed obsolete embed.go file and added nginx configuration for serving the app. - Updated package dependencies including @xyflow/react for enhanced functionality. - Added TypeScript definitions for CSS imports to support styling in components.
40 lines
835 B
YAML
40 lines
835 B
YAML
services:
|
|
mongo:
|
|
image: mongo:7
|
|
ports:
|
|
- "27017:27017"
|
|
volumes:
|
|
- mongo-data:/data/db
|
|
|
|
restate:
|
|
image: docker.io/restatedev/restate:latest
|
|
ports:
|
|
- "8081:8080" # ingress
|
|
- "9070:9070" # admin
|
|
|
|
flow:
|
|
build: .
|
|
ports:
|
|
- "8080:8080" # JSON API
|
|
- "9080:9080" # restate callback endpoint
|
|
environment:
|
|
- MONGO_URI=mongodb://mongo:27017
|
|
- MONGO_DB=flow
|
|
- FLOW_CORS_ORIGINS=http://localhost:3000,http://web:3000
|
|
- RESTATE_INGRESS_URL=http://restate:8080
|
|
- RESTATE_ADMIN_URL=http://restate:9070
|
|
- RESTATE_DEPLOYMENT_URI=http://flow:9080
|
|
depends_on:
|
|
- mongo
|
|
- restate
|
|
|
|
web:
|
|
build: ./web
|
|
ports:
|
|
- "3000:3000" # UI (open this in your browser)
|
|
depends_on:
|
|
- flow
|
|
|
|
volumes:
|
|
mongo-data:
|