File tree 6 files changed +7
-8
lines changed
6 files changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -56,13 +56,15 @@ RUN curl -fsSLO --compressed --retry 3 --retry-delay 10 \
56
56
57
57
WORKDIR /opt/octoprint
58
58
RUN pip install .
59
+ RUN mkdir -p /octoprint/octoprint /octoprint/plugins
59
60
60
61
# Install mjpg-streamer
61
62
RUN curl -fsSLO --compressed --retry 3 --retry-delay 10 \
62
63
https://github.com/jacksonliam/mjpg-streamer/archive/master.tar.gz \
63
64
&& mkdir /mjpg \
64
65
&& tar xzf master.tar.gz -C /mjpg
65
66
67
+
66
68
WORKDIR /mjpg/mjpg-streamer-master/mjpg-streamer-experimental
67
69
RUN make
68
70
RUN make install
Original file line number Diff line number Diff line change @@ -83,11 +83,11 @@ then run the following commands:
83
83
docker-compose up -d config-editor
84
84
```
85
85
86
- Now go to ` http://<octoprint_ip_or_url>:8443/?folder=/config ` in your browser to edit your octoprint files!
86
+ Now go to ` http://<octoprint_ip_or_url>:8443/?folder=/octoprint ` in your browser to edit your octoprint files!
87
87
Use the 'explorer' (accessible by clicking the hamburger menu icon) to explore folder and files to load
88
88
into the editor workspace.
89
89
90
- All configuration files are in the ` /config ` folder, and the active configuration will be accessible at ` /config /config.yaml `
90
+ All configuration files are in the ` octoprint ` folder, and the active configuration will be accessible at ` /octoprint/octoprint /config.yaml `
91
91
92
92
When you're done, we recommend you stop and remove this service/container:
93
93
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ services:
24
24
- GUID=0
25
25
- TZ=America/Chicago
26
26
volumes :
27
- - octoprint:/config
27
+ - octoprint:/octoprint
28
28
29
29
volumes :
30
30
octoprint :
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ services:
33
33
# - GUID=0
34
34
# - TZ=America/Chicago
35
35
# volumes:
36
- # - octoprint:/config
36
+ # - octoprint:/octoprint
37
37
38
38
volumes :
39
39
octoprint :
Original file line number Diff line number Diff line change 1
1
#!/usr/bin/with-contenv sh
2
2
3
- exec octoprint serve --iknowwhatimdoing --host 0.0.0.0 --basedir /octoprint
3
+ exec octoprint serve --iknowwhatimdoing --host 0.0.0.0 --basedir /octoprint/octoprint
Original file line number Diff line number Diff line change 5
5
ffmpeg : /usr/bin/ffmpeg
6
6
snapshot : http://localhost:8080/?action=snapshot
7
7
stream : /webcam/?action=stream
8
- plugins :
9
- _disabled :
10
- - backup
You can’t perform that action at this time.
0 commit comments