-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yaml
50 lines (47 loc) · 1.2 KB
/
docker-compose.yaml
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
---
version: '3'
services:
# Raspberry Pi CSI camera
prusa-connect-cam-rpi-csi:
image: quay.io/kaszpir/prusa-connect-script
read_only: true
restart: unless-stopped
env_file:
- .docker-csi # copy docker-csi.dist as .docker-csi and adjust env vars
devices:
- /dev:/dev
volumes:
- /dev/:/dev/
- /run/udev:/run/udev:ro
- type: tmpfs
target: /dev/shm
tmpfs:
size: 32MB
# generic camera available as /dev/video0
prusa-connect-cam-usb:
image: quay.io/kaszpir/prusa-connect-script
read_only: true
restart: unless-stopped
env_file:
- .docker-video0 # copy docker-video0.dist as .docker-video0 and adjust env vars
devices:
- /dev:/dev
volumes:
- /dev/:/dev/
- /run/udev:/run/udev:ro
- type: tmpfs
target: /dev/shm
tmpfs:
size: 32MB
# esp32 snapshot
prusa-connect-cam-rpi-esp-snapshot:
image: quay.io/kaszpir/prusa-connect-script
read_only: true
restart: unless-stopped
env_file:
- .docker-esphome-snapshot # copy docker-esphome-snapshot.dist as .docker-esphome-snapshot and adjust env vars
volumes:
- type: tmpfs
target: /dev/shm
tmpfs:
size: 32MB