File tree Expand file tree Collapse file tree 6 files changed +7
-8
lines changed
Expand file tree Collapse file tree 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 \
5656
5757WORKDIR /opt/octoprint
5858RUN pip install .
59+ RUN mkdir -p /octoprint/octoprint /octoprint/plugins
5960
6061# Install mjpg-streamer
6162RUN curl -fsSLO --compressed --retry 3 --retry-delay 10 \
6263 https://github.com/jacksonliam/mjpg-streamer/archive/master.tar.gz \
6364 && mkdir /mjpg \
6465 && tar xzf master.tar.gz -C /mjpg
6566
67+
6668WORKDIR /mjpg/mjpg-streamer-master/mjpg-streamer-experimental
6769RUN make
6870RUN make install
Original file line number Diff line number Diff line change @@ -83,11 +83,11 @@ then run the following commands:
8383docker-compose up -d config-editor
8484```
8585
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!
8787Use the 'explorer' (accessible by clicking the hamburger menu icon) to explore folder and files to load
8888into the editor workspace.
8989
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 `
9191
9292When you're done, we recommend you stop and remove this service/container:
9393
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ services:
2424 - GUID=0
2525 - TZ=America/Chicago
2626 volumes :
27- - octoprint:/config
27+ - octoprint:/octoprint
2828
2929volumes :
3030 octoprint :
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ services:
3333 # - GUID=0
3434 # - TZ=America/Chicago
3535 # volumes:
36- # - octoprint:/config
36+ # - octoprint:/octoprint
3737
3838volumes :
3939 octoprint :
Original file line number Diff line number Diff line change 11#!/usr/bin/with-contenv sh
22
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 55 ffmpeg : /usr/bin/ffmpeg
66 snapshot : http://localhost:8080/?action=snapshot
77 stream : /webcam/?action=stream
8- plugins :
9- _disabled :
10- - backup
You can’t perform that action at this time.
0 commit comments