File tree Expand file tree Collapse file tree 5 files changed +17
-4
lines changed
examples/nextjs-together-llamaindex Expand file tree Collapse file tree 5 files changed +17
-4
lines changed Original file line number Diff line number Diff line change 1+ name : nextjs-together-llamaindex
12version : ' 3.8'
3+ networks :
4+ bridge :
5+ driver : bridge
26
37services :
48 frontend :
@@ -15,6 +19,8 @@ services:
1519 - NEXT_PUBLIC_API_HOSTNAME=http://backend:3000
1620 depends_on :
1721 - backend
22+ networks :
23+ - bridge
1824
1925 backend :
2026 build :
@@ -23,4 +29,6 @@ services:
2329 ports :
2430 - " 8000:3000"
2531 env_file :
26- - ./backend/.env
32+ - ./backend/.env
33+ networks :
34+ - bridge
Original file line number Diff line number Diff line change 1+ node_modules
2+ .next
Original file line number Diff line number Diff line change 77 "build" : " next build" ,
88 "start" : " next start" ,
99 "lint" : " next lint" ,
10- "clean" : " rm -rf node_modules"
10+ "clean" : " rm -rf node_modules" ,
11+ "docker:build" : " docker build -t restack-nextjs-together-llamaindex-frontend ." ,
12+ "docker:run" : " docker run -p 3000 restack-nextjs-together-llamaindex-frontend" ,
13+ "docker:stop" : " docker stop restack-nextjs-together-llamaindex-frontend"
1114 },
1215 "dependencies" : {
1316 "@restackio/ai" : " ^0.0.81" ,
Original file line number Diff line number Diff line change 22
33import { useState } from "react" ;
44import { Example , examples } from "./examplesList" ;
5- import { triggerWorkflow } from "@/app/actions/Trigger " ;
5+ import { triggerWorkflow } from "@/app/actions/trigger " ;
66
77const Examples = ( ) => {
88 const [ loading , setLoading ] = useState ( false ) ;
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ export type Example = {
33 description : string ;
44 integrations : string [ ] ;
55 workflowName : string ;
6- input : Record < string , any > ;
6+ input : Record < string , unknown > ;
77} ;
88
99export const examples = [
You can’t perform that action at this time.
0 commit comments