Skip to content

Commit c47757f

Browse files
committed
composio version locked to work, cloud deployments etc.
1 parent f0ffbcf commit c47757f

File tree

9 files changed

+217
-153
lines changed

9 files changed

+217
-153
lines changed

composio/docker-compose.yaml

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: restack-composio-example
2+
services:
3+
restack_engine:
4+
image: ghcr.io/restackio/restack:main
5+
ports:
6+
- "5233:5233"
7+
- "6233:6233"
8+
- "7233:7233"
9+
environment:
10+
- RESTACK_ENGINE_ID
11+
- RESTACK_ENGINE_ADDRESS
12+
- RESTACK_ENGINE_API_KEY
13+
composio:
14+
image: composio
15+
build:
16+
context: .
17+
dockerfile: Dockerfile
18+
ports:
19+
- "4000:4000"
20+
environment:
21+
- COMPOSIO_API_KEY
22+
- OPENAI_API_KEY
23+
- RESTACK_ENGINE_ID
24+
- RESTACK_ENGINE_ADDRESS
25+
- RESTACK_ENGINE_API_KEY
26+
depends_on:
27+
- restack_engine

composio/package.json

+7-4
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@
88
"schedule-workflow": "tsx scheduleWorkflow.ts",
99
"clean": "rm -rf node_modules",
1010
"restack-engine": "docker run -d --pull always --name restack -p 5233:5233 -p 6233:6233 -p 7233:7233 ghcr.io/restackio/restack:main",
11-
"restack-up": "tsx restackUp.mjs"
11+
"docker:build": "docker build -t composio .",
12+
"docker:run": "docker run -d -p 4000:4000 composio",
13+
"restack-up": "dotenv -e .env tsx restack_up.mjs"
1214
},
1315
"nodemonConfig": {
1416
"execMap": {
@@ -23,12 +25,13 @@
2325
"@restackio/ai": "0.0.86",
2426
"@temporalio/workflow": "1.11.2",
2527
"dotenv": "16.4.5",
26-
"composio-core": "0.2.5",
27-
"install": "0.13.0"
28+
"composio-core": "0.2.9-8",
29+
"install": "^0.13.0"
2830
},
2931
"devDependencies": {
30-
"@restackio/cloud": "1.0.19",
32+
"@restackio/cloud": "1.0.21",
3133
"@types/node": "20.16.9",
34+
"dotenv-cli": "^7.4.4",
3235
"nodemon": "2.0.22",
3336
"ts-node": "10.9.2",
3437
"tsx": "4.19.2",

0 commit comments

Comments
 (0)