forked from bytebot-ai/bytebot
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
86 lines (80 loc) · 2.28 KB
/
docker-compose.yml
File metadata and controls
86 lines (80 loc) · 2.28 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
name: bytebot
services:
bytebot-desktop:
# Build from source
build:
context: ../packages/
dockerfile: bytebotd/Dockerfile
# Use pre-built image
image: ghcr.io/bytebot-ai/bytebot-desktop:edge
shm_size: "2g"
container_name: bytebot-desktop
restart: unless-stopped
hostname: computer
privileged: true
ports:
- "9990:9990" # bytebotd service & noVNC
environment:
- DISPLAY=:0
networks:
- bytebot-network
postgres:
image: postgres:16-alpine
container_name: bytebot-postgres
restart: unless-stopped
ports:
- "5432:5432"
environment:
- POSTGRES_PASSWORD=postgres
- POSTGRES_USER=postgres
- POSTGRES_DB=bytebotdb
networks:
- bytebot-network
volumes:
- postgres_data:/var/lib/postgresql/data
bytebot-agent:
build:
context: ../packages/
dockerfile: bytebot-agent/Dockerfile
# Use pre-built image
image: ghcr.io/bytebot-ai/bytebot-agent:edge
container_name: bytebot-agent
restart: unless-stopped
ports:
- "9991:9991"
environment:
- DATABASE_URL=${DATABASE_URL:-postgresql://postgres:postgres@postgres:5432/bytebotdb}
- BYTEBOT_DESKTOP_BASE_URL=${BYTEBOT_DESKTOP_BASE_URL:-http://bytebot-desktop:9990}
- ANTHROPIC_API_KEY=${ANTHROPIC_API_KEY}
- OPENAI_API_KEY=${OPENAI_API_KEY}
- GEMINI_API_KEY=${GEMINI_API_KEY}
depends_on:
- postgres
networks:
- bytebot-network
bytebot-ui:
build:
context: ../packages/
dockerfile: bytebot-ui/Dockerfile
args:
- BYTEBOT_AGENT_BASE_URL=${BYTEBOT_AGENT_BASE_URL:-http://bytebot-agent:9991}
- BYTEBOT_DESKTOP_VNC_URL=${BYTEBOT_DESKTOP_VNC_URL:-http://bytebot-desktop:9990/websockify}
# Use pre-built image
image: ghcr.io/bytebot-ai/bytebot-ui:edge
container_name: bytebot-ui
restart: unless-stopped
ports:
- "9992:9992"
environment:
- NODE_ENV=production
- BYTEBOT_AGENT_BASE_URL=${BYTEBOT_AGENT_BASE_URL:-http://bytebot-agent:9991}
- BYTEBOT_DESKTOP_VNC_URL=${BYTEBOT_DESKTOP_VNC_URL:-http://bytebot-desktop:9990/websockify}
depends_on:
- bytebot-agent
networks:
- bytebot-network
networks:
bytebot-network:
driver: bridge
volumes:
postgres_data: