Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions composio/docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: restack-composio-example
services:
restack_engine:
image: ghcr.io/restackio/restack:main
ports:
- "5233:5233"
- "6233:6233"
- "7233:7233"
environment:
- RESTACK_ENGINE_ID
- RESTACK_ENGINE_ADDRESS
- RESTACK_ENGINE_API_KEY
composio:
image: composio
build:
context: .
dockerfile: Dockerfile
ports:
- "4000:4000"
environment:
- COMPOSIO_API_KEY
- OPENAI_API_KEY
- RESTACK_ENGINE_ID
- RESTACK_ENGINE_ADDRESS
- RESTACK_ENGINE_API_KEY
depends_on:
- restack_engine
33 changes: 19 additions & 14 deletions composio/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,14 @@
"version": "1.0.0",
"description": "Basic Gemini example",
"scripts": {
"start": "ts-node src/services.ts",
"start.watch": "nodemon src/services.ts",
"dev": "pnpm start.watch",
"dev": "tsx watch --include src src/services.ts",
"build": "tsc --build",
"schedule-workflow": "tsx scheduleWorkflow.ts",
"clean": "rm -rf node_modules",
"schedule": "ts-node ./scheduleWorkflow.ts",
"restack-up": "node restack_up.mjs"
"restack-engine": "docker run -d --pull always --name restack -p 5233:5233 -p 6233:6233 -p 7233:7233 ghcr.io/restackio/restack:main",
"docker:build": "docker build -t composio .",
"docker:run": "docker run -d -p 4000:4000 composio",
"restack-up": "dotenv -e .env tsx restack_up.mjs"
},
"nodemonConfig": {
"execMap": {
Expand All @@ -21,16 +22,20 @@
]
},
"dependencies": {
"@restackio/ai": "^0.0.85",
"@restackio/integrations-composio": "^0.0.6",
"@temporalio/workflow": "^1.11.2",
"dotenv": "^16.4.5"
"@restackio/ai": "0.0.86",
"@temporalio/workflow": "1.11.2",
"dotenv": "16.4.5",
"composio-core": "0.2.9-10-1",
"install": "^0.13.0",
"openai": "4.73.1"
},
"devDependencies": {
"@restackio/cloud": "^1.0.19",
"@types/node": "^20.16.9",
"nodemon": "^2.0.22",
"ts-node": "^10.9.2",
"typescript": "^5.6.3"
"@restackio/cloud": "1.0.21",
"@types/node": "20.16.9",
"dotenv-cli": "^7.4.4",
"nodemon": "2.0.22",
"ts-node": "10.9.2",
"tsx": "4.19.2",
"typescript": "5.6.3"
}
}
Loading