Spaces:
Running
Running
Create Dockerfile
Browse files- Dockerfile +80 -0
Dockerfile
ADDED
@@ -0,0 +1,80 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
services:
|
2 |
+
frontend:
|
3 |
+
image: ${IMAGE_REGISTRY:-simpleyyt}/manus-frontend:${IMAGE_TAG:-latest}
|
4 |
+
build:
|
5 |
+
context: ./frontend
|
6 |
+
dockerfile: Dockerfile
|
7 |
+
x-bake:
|
8 |
+
platforms:
|
9 |
+
- linux/amd64
|
10 |
+
- linux/arm64
|
11 |
+
ports:
|
12 |
+
- "5173:80"
|
13 |
+
depends_on:
|
14 |
+
- backend
|
15 |
+
restart: unless-stopped
|
16 |
+
networks:
|
17 |
+
- manus-network
|
18 |
+
environment:
|
19 |
+
- BACKEND_URL=http://backend:8000
|
20 |
+
|
21 |
+
backend:
|
22 |
+
image: ${IMAGE_REGISTRY:-simpleyyt}/manus-backend:${IMAGE_TAG:-latest}
|
23 |
+
build:
|
24 |
+
context: ./backend
|
25 |
+
dockerfile: Dockerfile
|
26 |
+
x-bake:
|
27 |
+
platforms:
|
28 |
+
- linux/amd64
|
29 |
+
- linux/arm64
|
30 |
+
depends_on:
|
31 |
+
- sandbox
|
32 |
+
- mongodb
|
33 |
+
- redis
|
34 |
+
restart: unless-stopped
|
35 |
+
volumes:
|
36 |
+
- /var/run/docker.sock:/var/run/docker.sock:ro
|
37 |
+
#- ./mcp.json:/etc/mcp.json # Mount MCP servers directory
|
38 |
+
networks:
|
39 |
+
- manus-network
|
40 |
+
env_file:
|
41 |
+
- .env
|
42 |
+
|
43 |
+
sandbox:
|
44 |
+
image: ${IMAGE_REGISTRY:-simpleyyt}/manus-sandbox:${IMAGE_TAG:-latest}
|
45 |
+
build:
|
46 |
+
context: ./sandbox
|
47 |
+
dockerfile: Dockerfile
|
48 |
+
x-bake:
|
49 |
+
platforms:
|
50 |
+
- linux/amd64
|
51 |
+
- linux/arm64
|
52 |
+
command: /bin/sh -c "exit 0" # prevent sandbox from starting, ensure image is pulled
|
53 |
+
restart: "no"
|
54 |
+
networks:
|
55 |
+
- manus-network
|
56 |
+
|
57 |
+
mongodb:
|
58 |
+
image: mongo:7.0
|
59 |
+
volumes:
|
60 |
+
- mongodb_data:/data/db
|
61 |
+
restart: unless-stopped
|
62 |
+
#ports:
|
63 |
+
# - "27017:27017"
|
64 |
+
networks:
|
65 |
+
- manus-network
|
66 |
+
|
67 |
+
redis:
|
68 |
+
image: redis:7.0
|
69 |
+
restart: unless-stopped
|
70 |
+
networks:
|
71 |
+
- manus-network
|
72 |
+
|
73 |
+
volumes:
|
74 |
+
mongodb_data:
|
75 |
+
name: manus-mongodb-data
|
76 |
+
|
77 |
+
networks:
|
78 |
+
manus-network:
|
79 |
+
name: manus-network
|
80 |
+
driver: bridge
|