Optimizations

This commit is contained in:
Ben Sarmiento
2023-10-22 11:26:20 +02:00
parent 7009d78003
commit c789ebc96d
8 changed files with 61 additions and 237 deletions

View File

@@ -18,23 +18,33 @@ services:
PUID: 1000
PGID: 1000
volumes:
- type: bind
source: ./media
target: /data
bind:
propagation: shared
- ./media:/data:rshared
- ./rclone.conf:/config/rclone/rclone.conf
- /dev/fuse:/dev/fuse
cap_add:
- SYS_ADMIN
- MKNOD
privileged: true
security_opt:
- apparmor:unconfined
- no-new-privileges:true
devices:
- /dev/fuse:/dev/fuse:rwm
command: "mount zurg: /data --allow-other --allow-non-empty --uid 1000 --gid 1000 --dir-cache-time 1s --read-only --log-level DEBUG"
command: "mount zurg: /data --allow-other --uid=1000 --gid=1000 --dir-cache-time 10s --read-only"
rclonerd:
image: itstoggle/rclone_rd:latest
restart: unless-stopped
environment:
TZ: Europe/Berlin
PUID: 1000
PGID: 1000
volumes:
- ./media2:/data:rshared
- ./rclone.conf:/config/rclone/rclone.conf
command: "mount rd: /data --allow-other --uid=1000 --gid=1000 --dir-cache-time 10s --read-only"
devices:
- /dev/fuse:/dev/fuse:rwm
cap_add:
- SYS_ADMIN
security_opt:
- apparmor:unconfined
volumes:
zurgdata: