-
Notifications
You must be signed in to change notification settings - Fork 6
/
docker-compose.yaml
53 lines (47 loc) · 955 Bytes
/
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
51
52
version: '3.2'
volumes:
octoprint-docker:
octoprint-docker2:
services:
octoprint1:
image: octoprint/octoprint
ports:
- 5000:5000
devices:
- /dev/ttyUSB0:/dev/ttyUSB0
volumes:
- octoprint-docker:/home/octoprint/.octoprint
restart: always
streamer1:
build: .
ports:
- 8911:8080
devices:
- /dev/video0:/dev/video0
environment:
- MJPG_RES=640x480
- MJPG_FPS=25
- MJPG_USER=admin
- MJPG_PASS=adm1n
restart: always
octoprint2:
image: octoprint/octoprint
ports:
- 5001:5000
devices:
- /dev/ttyUSB0:/dev/ttyUSB0
volumes:
- octoprint-docker2:/home/octoprint/.octoprint
restart: always
streamer2:
build: .
ports:
- 8912:8080
devices:
- /dev/video1:/dev/video0
environment:
- MJPG_RES=640x480
- MJPG_FPS=25
- MJPG_USER=admin
- MJPG_PASS=adm1n
restart: always