Add rclone mounts
This commit is contained in:
parent
9b9af7e90d
commit
251d52f1de
1 changed files with 18 additions and 0 deletions
|
@ -13,9 +13,27 @@ services:
|
||||||
- /srv/nextcloud-data/data/:/source/nextcloud:ro
|
- /srv/nextcloud-data/data/:/source/nextcloud:ro
|
||||||
- /opt/gitea/repos/repositories:/source/repositories:ro
|
- /opt/gitea/repos/repositories:/source/repositories:ro
|
||||||
- /scratch/db-backups:/source/db-backups:ro
|
- /scratch/db-backups:/source/db-backups:ro
|
||||||
|
- ./mounts:/source/mounts:shared
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
labels:
|
labels:
|
||||||
- "traefik.enable=true"
|
- "traefik.enable=true"
|
||||||
- "traefik.http.routers.duplicati.rule=Host(`duplicati.jakehoward.tech`)"
|
- "traefik.http.routers.duplicati.rule=Host(`duplicati.jakehoward.tech`)"
|
||||||
- "traefik.http.routers.duplicati.tls.certresolver=le"
|
- "traefik.http.routers.duplicati.tls.certresolver=le"
|
||||||
- "traefik.http.routers.duplicati.middlewares=internal-only@file"
|
- "traefik.http.routers.duplicati.middlewares=internal-only@file"
|
||||||
|
|
||||||
|
rclone:
|
||||||
|
image: theorangeone/rclone-mount:latest
|
||||||
|
restart: unless-stopped
|
||||||
|
cap_add:
|
||||||
|
- SYS_ADMIN
|
||||||
|
security_opt:
|
||||||
|
- apparmor:unconfined
|
||||||
|
environment:
|
||||||
|
- PUID={{ docker_user.id }}
|
||||||
|
- PGID={{ docker_user.id }}
|
||||||
|
devices:
|
||||||
|
- "/dev/fuse:/dev/fuse"
|
||||||
|
volumes:
|
||||||
|
- ./mounts:/mnt:shared
|
||||||
|
- ./rclone-mounts.txt:/config/config.txt:ro
|
||||||
|
- ./rclone.conf:/config/rclone.conf:ro
|
||||||
|
|
Loading…
Reference in a new issue