forked from bytebot-ai/bytebot
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.development.yml
More file actions
48 lines (43 loc) · 1.12 KB
/
docker-compose.development.yml
File metadata and controls
48 lines (43 loc) · 1.12 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
## docker-compose file that spins up a bytebot-desktop container
## and a postgres container. bytebot-ui and bytebot-agent are not included
## in this file, and can be run separately using npm, allowing for
## easier local development.
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
networks:
bytebot-network:
driver: bridge
volumes:
postgres_data: