Skip to content

Commit

Permalink
enable usage of backup/restore plugin
Browse files Browse the repository at this point in the history
fixes #93
  • Loading branch information
LongLiveCHIEF committed Dec 9, 2020
1 parent 042a236 commit c348c2c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,15 @@ RUN curl -fsSLO --compressed --retry 3 --retry-delay 10 \

WORKDIR /opt/octoprint
RUN pip install .
RUN mkdir -p /octoprint/octoprint /octoprint/plugins

# Install mjpg-streamer
RUN curl -fsSLO --compressed --retry 3 --retry-delay 10 \
https://github.com/jacksonliam/mjpg-streamer/archive/master.tar.gz \
&& mkdir /mjpg \
&& tar xzf master.tar.gz -C /mjpg


WORKDIR /mjpg/mjpg-streamer-master/mjpg-streamer-experimental
RUN make
RUN make install
Expand Down
2 changes: 1 addition & 1 deletion root/etc/services.d/octoprint/run
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/usr/bin/with-contenv sh

exec octoprint serve --iknowwhatimdoing --host 0.0.0.0 --basedir /octoprint
exec octoprint serve --iknowwhatimdoing --host 0.0.0.0 --basedir /octoprint/octoprint
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,3 @@ webcam:
ffmpeg: /usr/bin/ffmpeg
snapshot: http://localhost:8080/?action=snapshot
stream: /webcam/?action=stream
plugins:
_disabled:
- backup

0 comments on commit c348c2c

Please sign in to comment.