forked from szymdzum/browser-debugger-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
38 lines (36 loc) · 983 Bytes
/
docker-compose.yml
File metadata and controls
38 lines (36 loc) · 983 Bytes
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
services:
# Example: httpbin service for testing
httpbin:
image: kennethreitz/httpbin
ports:
- "8080:80"
networks:
- bdg-network
# bdg service for capturing telemetry
bdg:
image: bdg-test:local # Use local build with latest code
# Override entrypoint to avoid default daemon startup
entrypoint: ["/bin/sh", "-c"]
command:
- |
echo "Waiting for httpbin to be ready..."
sleep 3
echo "Starting bdg capture..."
bdg httpbin:80 --headless --port 9224 --timeout 10
echo "Capture complete, checking output..."
ls -lh /root/.bdg/ || true
depends_on:
- httpbin
networks:
- bdg-network
environment:
- BDG_DEBUG=0
# Required for Chrome to run in Docker
cap_add:
- SYS_ADMIN
# Alternative approach (less secure but works in restricted environments):
# security_opt:
# - seccomp=unconfined
networks:
bdg-network:
driver: bridge