-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
41 lines (40 loc) · 1.01 KB
/
docker-compose.yml
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
version: "2.1"
volumes:
cups:
octoprint:
services:
cups:
build: ./balenaPrint/cups
ports:
- 80:80
privileged: true
restart: always
network_mode: host
volumes:
- 'cups:/etc/cups'
labels:
io.balena.features.kernel-modules: '1'
io.balena.features.firmware: '1'
io.balena.features.dbus: '1'
io.balena.features.supervisor-api: '1'
io.balena.features.balena-api: '1'
wifi-repeater:
build: ./wifiRepeater
privileged: true
labels:
io.balena.features.dbus: '1'
octoprint:
image: octoprint/octoprint:1.8
restart: unless-stopped
ports:
- 81:80
devices:
# use `python -m serial.tools.miniterm` to see what the name is of the printer, this requires pyserial
- /dev/ttyACM0:/dev/ttyACM0
# - /dev/video0:/dev/video0
volumes:
- octoprint:/octoprint
# uncomment the lines below to ensure camera streaming is enabled when
# you add a video device
#environment:
# - ENABLE_MJPG_STREAMER=true