Skip to content

Commit 8e2eb41

Browse files
committed
Merge branch 'development'
2 parents 937b6b3 + 9dbbc83 commit 8e2eb41

File tree

34 files changed

+394
-478
lines changed

34 files changed

+394
-478
lines changed

.github/workflows/build-agent.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,4 +47,3 @@ jobs:
4747
cache-to: type=gha,mode=max
4848
tags: ${{ steps.meta.outputs.tags }}
4949
labels: ${{ steps.meta.outputs.labels }}
50-

.github/workflows/build-desktop.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
branches:
66
- main
77
paths:
8-
- "infrastructure/docker/**"
8+
- "docker/**"
99
- "packages/bytebotd/**"
1010

1111
permissions:
@@ -50,8 +50,8 @@ jobs:
5050
DOCKER_BUILD_SUMMARY: false # keep logs concise
5151
DOCKER_BUILD_RECORD_UPLOAD: false
5252
with:
53-
context: .
54-
file: ./infrastructure/docker/Dockerfile
53+
context: ./packages/
54+
file: ./packages/bytebotd/Dockerfile
5555
platforms: linux/amd64,linux/arm64 # build both archs in one go
5656
push: true
5757
cache-from: type=gha

README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -55,13 +55,13 @@ _For an in-depth guide see [here](https://docs.bytebot.ai/deployment/railway)._
5555
```bash
5656
git clone https://github.com/bytebot-ai/bytebot.git
5757
cd bytebot
58-
echo "ANTHROPIC_API_KEY=your_api_key_here" > infrastructure/docker/.env
58+
echo "ANTHROPIC_API_KEY=your_api_key_here" > docker/.env
5959
```
6060

6161
2. **Start the agent stack:**
6262

6363
```bash
64-
docker-compose -f infrastructure/docker/docker-compose.yml up -d
64+
docker-compose -f docker/docker-compose.yml up -d
6565
```
6666

6767
3. **Open the chat interface:**
@@ -155,7 +155,7 @@ Bytebot consists of four main components working together:
155155

156156
### Environment Variables
157157

158-
Create `infrastructure/docker/.env`:
158+
Create `docker/.env`:
159159

160160
```bash
161161
# Required
@@ -167,7 +167,7 @@ ANTHROPIC_API_KEY=sk-ant-...
167167
Add applications or configurations by extending the Dockerfile:
168168

169169
```dockerfile
170-
# infrastructure/docker/desktop/Dockerfile.custom
170+
# docker/desktop/Dockerfile.custom
171171
FROM bytebot/desktop:latest
172172

173173
# Install additional software
@@ -177,7 +177,7 @@ RUN apt-get update && apt-get install -y \
177177
your-custom-app
178178

179179
# Copy custom configs
180-
COPY configs/.config /home/bytebot/.config
180+
COPY configs/.config /home/user/.config
181181
```
182182

183183
## 🔒 Security Considerations
@@ -215,26 +215,26 @@ COPY configs/.config /home/bytebot/.config
215215
### View Logs
216216

217217
```bash
218-
docker-compose -f infrastructure/docker/docker-compose.yml logs -f
218+
docker-compose -f docker/docker-compose.yml logs -f
219219
```
220220

221221
### Stop Services
222222

223223
```bash
224-
docker-compose -f infrastructure/docker/docker-compose.yml down
224+
docker-compose -f docker/docker-compose.yml down
225225
```
226226

227227
### Update to Latest Version
228228

229229
```bash
230-
docker-compose -f infrastructure/docker/docker-compose.yml pull
231-
docker-compose -f infrastructure/docker/docker-compose.yml up -d
230+
docker-compose -f docker/docker-compose.yml pull
231+
docker-compose -f docker/docker-compose.yml up -d
232232
```
233233

234234
### Reset Everything
235235

236236
```bash
237-
docker-compose -f infrastructure/docker/docker-compose.yml down -v
237+
docker-compose -f docker/docker-compose.yml down -v
238238
```
239239

240240
## 📚 Advanced Usage

infrastructure/docker/docker-compose.core.yml renamed to docker/docker-compose.core.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ services:
44
bytebot-desktop:
55
# Build from source
66
build:
7-
context: ../../
8-
dockerfile: infrastructure/docker/Dockerfile
7+
context: ../packages/
8+
dockerfile: bytebotd/Dockerfile
99
# Use pre-built image
1010
image: ghcr.io/bytebot-ai/bytebot-desktop:edge
1111

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ services:
44
bytebot-desktop:
55
# Build from source
66
build:
7-
context: ../../
8-
dockerfile: infrastructure/docker/Dockerfile
7+
context: ../packages/
8+
dockerfile: bytebotd/Dockerfile
99
# Use pre-built image
1010
image: ghcr.io/bytebot-ai/bytebot-desktop:edge
1111
shm_size: "2g"
@@ -37,7 +37,7 @@ services:
3737

3838
bytebot-agent:
3939
build:
40-
context: ../../packages/
40+
context: ../packages/
4141
dockerfile: bytebot-agent/Dockerfile
4242
# Use pre-built image
4343
image: ghcr.io/bytebot-ai/bytebot-agent:edge
@@ -56,7 +56,7 @@ services:
5656

5757
bytebot-ui:
5858
build:
59-
context: ../../packages/
59+
context: ../packages/
6060
dockerfile: bytebot-ui/Dockerfile
6161
args:
6262
- BYTEBOT_AGENT_BASE_URL=${BYTEBOT_AGENT_BASE_URL:-http://bytebot-agent:9991}

docs/core-concepts/desktop-environment.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -108,14 +108,14 @@ DISPLAY_DEPTH=24
108108
```
109109

110110
### User Environment
111-
- **Username**: `bytebot`
112-
- **Home Directory**: `/home/bytebot`
111+
- **Username**: `user`
112+
- **Home Directory**: `/home/user`
113113
- **Sudo Access**: Yes (passwordless)
114114
- **Desktop Session**: Auto-login enabled
115115

116116
### File System
117117
```
118-
/home/bytebot/
118+
/home/user/
119119
├── Desktop/ # Desktop shortcuts
120120
├── Documents/ # User documents
121121
├── Downloads/ # Browser downloads
@@ -182,7 +182,7 @@ RUN apt-get update && apt-get install -y \
182182
your-custom-app
183183

184184
# Copy configuration files
185-
COPY configs/ /home/bytebot/.config/
185+
COPY configs/ /home/user/.config/
186186
```
187187

188188
### Environment Variables

docs/quickstart.mdx

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -43,13 +43,13 @@ Get your self-hosted AI desktop agent running with just three commands:
4343
<Steps>
4444
<Step title="Clone and Configure">
4545
```bash
46-
git clone https://github.com/bytebot-ai/bytebot.git cd bytebot echo "ANTHROPIC_API_KEY=your_api_key_here" > infrastructure/docker/.env
46+
git clone https://github.com/bytebot-ai/bytebot.git cd bytebot echo "ANTHROPIC_API_KEY=your_api_key_here" > docker/.env
4747
```
4848
</Step>
4949

5050
<Step title="Start the Agent Stack">
5151
```bash
52-
docker-compose -f infrastructure/docker/docker-compose.yml up -d
52+
docker-compose -f docker/docker-compose.yml up -d
5353
```
5454

5555
This starts all four services:
@@ -124,13 +124,13 @@ Watch it work in real-time through the embedded VNC viewer in the tasks interfac
124124

125125
```bash
126126
#Using pre-built image (recommended)
127-
docker-compose -f infrastructure/docker/docker-compose.core.yml pull
128-
docker-compose -f infrastructure/docker/docker-compose.core.yml up -d
127+
docker-compose -f docker/docker-compose.core.yml pull
128+
docker-compose -f docker/docker-compose.core.yml up -d
129129
```
130130

131131
Or build locally:
132132
```bash
133-
docker-compose -f infrastructure/docker/docker-compose.core.yml up -d --build
133+
docker-compose -f docker/docker-compose.core.yml up -d --build
134134
```
135135

136136
Access the desktop at
@@ -147,31 +147,31 @@ Monitor what your agent is doing:
147147

148148
```bash
149149
# All services
150-
docker-compose -f infrastructure/docker/docker-compose.yml logs -f
150+
docker-compose -f docker/docker-compose.yml logs -f
151151

152152
# Just the agent
153-
docker-compose -f infrastructure/docker/docker-compose.yml logs -f bytebot-agent
153+
docker-compose -f docker/docker-compose.yml logs -f bytebot-agent
154154
```
155155

156156
### Stop Services
157157

158158
```bash
159-
docker-compose -f infrastructure/docker/docker-compose.yml down
159+
docker-compose -f docker/docker-compose.yml down
160160
```
161161

162162
### Update to Latest
163163

164164
```bash
165-
docker-compose -f infrastructure/docker/docker-compose.yml pull
166-
docker-compose -f infrastructure/docker/docker-compose.yml up -d
165+
docker-compose -f docker/docker-compose.yml pull
166+
docker-compose -f docker/docker-compose.yml up -d
167167
```
168168

169169
### Reset Everything
170170

171171
Remove all data and start fresh:
172172

173173
```bash
174-
docker-compose -f infrastructure/docker/docker-compose.yml down -v
174+
docker-compose -f docker/docker-compose.yml down -v
175175
```
176176

177177
## Quick API Examples
@@ -208,21 +208,21 @@ curl -X POST http://localhost:9990/api/computer \
208208
Check Docker is running and you have enough resources:
209209
```bash
210210
docker info
211-
docker-compose -f infrastructure/docker/docker-compose.yml logs
211+
docker-compose -f docker/docker-compose.yml logs
212212
```
213213
</Accordion>
214214
<Accordion title="Can't connect to tasks UI">
215215
Ensure all services are running:
216216
```bash
217-
docker-compose -f infrastructure/docker/docker-compose.yml ps
217+
docker-compose -f docker/docker-compose.yml ps
218218
```
219219
All services should show as "Up".
220220
</Accordion>
221221
<Accordion title="Agent errors or no response">
222222
Check your API key is set correctly:
223223
```bash
224-
cat infrastructure/docker/.env
225-
docker-compose -f infrastructure/docker/docker-compose.yml logs bytebot-agent
224+
cat docker/.env
225+
docker-compose -f docker/docker-compose.yml logs bytebot-agent
226226
```
227227
</Accordion>
228228
</AccordionGroup>

0 commit comments

Comments
 (0)