saltyorg / Saltbox

Ansible-based solution for rapidly deploying a Docker containerized cloud media server.
https://docs.saltbox.dev
GNU General Public License v3.0
571 stars 65 forks source link

remotes: add upload toggle to settings.yml #159

Closed saltydk closed 9 months ago

saltydk commented 10 months ago

Chaz had a suggestion to change the current traefik3 layout of

rclone:
  enabled: true
  remotes:
    - remote: google
      template: google
      vfs_cache:
        enabled: false
        max_age: 504h
        size: 50G
  version: latest

to something like

 rclone:
  enabled: true
  remotes:
    - remote: google
      template: google
      upload: true
      upload_from: /mnt/local/Media
      vfs_cache:
        enabled: false
        max_age: 504h
        size: 50G
  version: latest 

Which would allow a way to generate a cloudplow config that is setup to use multiple remotes to upload from different source folders with fairly little work from the user.

Additionally this would allow us to decouple the use of cloudplow from the Mediabox/Feederbox tags and let users decide if they want to use cloudplow or not through the config and what folders they want to upload more importantly.

Add a cloudplow-reset style tag to redo the entire config generation.

vpatel9202 commented 10 months ago

Additionally, maybe the same could be done for sync, like so:

rclone:
 enabled: true
 remotes:
   - remote: google
     template: google
     upload: true
     upload_from: /mnt/local/Media
     sync: true
     sync_to: google2
     vfs_cache:
       enabled: false
       max_age: 504h
       size: 50G
 version: latest 
saltydk commented 10 months ago

I don't think we want to further complicate the config.

On Sat, 2 Sep 2023, 00:37 Vash Patel, @.***> wrote:

Additionally, maybe the same could be done for sync, like so:

rclone: enabled: true remotes:

  • remote: google template: google upload: true upload_from: /mnt/local/Media sync: true sync_to: google2 vfs_cache: enabled: false max_age: 504h size: 50G version: latest

— Reply to this email directly, view it on GitHub https://github.com/saltyorg/Saltbox/issues/159#issuecomment-1703394558, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABSIMLRPR7VY426JEZY7OG3XYJPRXANCNFSM6AAAAAA3TIC4A4 . You are receiving this because you authored the thread.Message ID: @.***>

saltydk commented 9 months ago

Implemented in traefik3.