Skip to content

Commit

Permalink
feat: add capability to mount folder with fuse (#44)
Browse files Browse the repository at this point in the history
* add fuse

* add fuse config user_allow_other

* revert change for real repository

* fix: dockerfile and changelog

---------

Co-authored-by: Alexandre Godet <[email protected]>
Co-authored-by: github-actions <[email protected]>
  • Loading branch information
3 people authored Dec 30, 2023
1 parent a97c253 commit 1362bde
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
4 changes: 4 additions & 0 deletions rclone_backup/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ ENV LANG C.UTF-8
ENV RCLONE_INSTALLED_VERSION 1.65.0
ENV RCLONE_WEBUI_INSTALLED_VERSION 2.0.5

# Install fuse
RUN apk add fuse \
&& sed -i 's/#user_allow_other/user_allow_other/' /etc/fuse.conf

# Copy root filesystem
COPY rootfs /
COPY --from=build /app/scheduler.bin /usr/bin/scheduler
Expand Down
5 changes: 5 additions & 0 deletions rclone_backup/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,3 +65,8 @@ schema:
no_slugify: bool?
log_level: list(debug|info|warning|error|fatal)?
image: ghcr.io/jcwillox/hassio-rclone-backup/{arch}
devices:
- /dev/fuse
privileged:
- SYS_ADMIN
apparmor: false

0 comments on commit 1362bde

Please sign in to comment.