This repository was archived by the owner on Apr 14, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
58 lines (56 loc) · 1.44 KB
/
Copy pathdocker-compose.yml
File metadata and controls
58 lines (56 loc) · 1.44 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
services:
# Hand detector service (Python + MediaPipe)
hand-detector:
build:
context: .
dockerfile: Dockerfile
container_name: avva-hand-detector
restart: unless-stopped
working_dir: /app/apps/hand-detector
command: python src/app.py
devices:
# Camera access - adjust device path as needed
- /dev/video0:/dev/video0
environment:
- DISPLAY=${DISPLAY:-:0}
- PYTHONUNBUFFERED=1
volumes:
# Mount source for development
- ./apps/hand-detector:/app/apps/hand-detector
# X11 socket for display (if using GUI)
- /tmp/.X11-unix:/tmp/.X11-unix:rw
network_mode: host
privileged: true
# Desktop app build service (Tauri)
desktop:
build:
context: .
dockerfile: Dockerfile
container_name: avva-desktop
working_dir: /app/apps/desktop
command: bun run build
volumes:
- ./apps/desktop:/app/apps/desktop
- ./node_modules:/app/node_modules
environment:
- NODE_ENV=production
# Development service (all-in-one for dev container)
dev:
build:
context: .
dockerfile: Dockerfile
container_name: avva-dev
stdin_open: true
tty: true
working_dir: /app
command: bash
devices:
- /dev/video0:/dev/video0
environment:
- DISPLAY=${DISPLAY:-:0}
- PYTHONUNBUFFERED=1
volumes:
- .:/app
- /tmp/.X11-unix:/tmp/.X11-unix:rw
network_mode: host
privileged: true