Skip to content

Commit

Permalink
change more places
Browse files Browse the repository at this point in the history
  • Loading branch information
chazlarson authored and saltydk committed Nov 21, 2023
1 parent 36cea66 commit fe67b2f
Show file tree
Hide file tree
Showing 7 changed files with 86 additions and 63 deletions.
19 changes: 11 additions & 8 deletions docs/advanced/feeder.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,20 @@ The following steps will be done on the Mediabox.

```yaml
rclone:
enabled: true
enabled: yes
remotes:
# LEAVE OTHER REMOTES IN PLACE IF ANY
- remote: feeder
template: sftp
upload: false
upload_from: /mnt/local/Media
vfs_cache:
enabled: false
max_age: 504h
size: 50G
settings:
mount: yes
template: sftp
union: yes
upload: no
upload_from: /mnt/local/Media
vfs_cache:
enabled: no
max_age: 504h
size: 50G
version: latest
```
Expand Down
10 changes: 5 additions & 5 deletions docs/reference/accounts.md
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ Each tab shows a "section" in the file.
=== "rclone"
```yaml
rclone:
enabled: true
enabled: yes
remotes:
- remote: google
settings:
Expand All @@ -197,21 +197,21 @@ Each tab shows a "section" in the file.

```yaml
rclone:
enabled: true
enabled: yes
remotes:
- remote: google
settings:
mount: true
mount: yes
template: google
...
- remote: dropbox
settings:
mount: false
mount: no
template: dropbox
...
- remote: minio
settings:
mount: true
mount: yes
template: /opt/mount-templates/custom/myminio.j2
...
```
Expand Down
18 changes: 11 additions & 7 deletions docs/reference/guides/chazguides/no-media.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,14 +107,18 @@ Verify the contents of `settings.yml`: saltbox uses this to create the mount ser
```yaml
remotes:
- remote: google # this is the name of the rclone remote
template: google # this is the saltbox template
upload: true
upload_from: /mnt/local/Media
vfs_cache:
enabled: false
max_age: 504h
size: 50G
settings:
mount: yes
template: google # this is the saltbox template
union: yes
upload: yes
upload_from: /mnt/local/Media
vfs_cache:
enabled: no
max_age: 504h
size: 50G
```
If you have to change those settings, rerun the `mounts` tag and go through this section again.

Do not continue until those two file listings match. They won’t match mine; they should both show the same files from YOUR gdrive.
Expand Down
19 changes: 11 additions & 8 deletions docs/reference/guides/chazguides/teamdrive.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,16 +62,19 @@ Let’s go!
```yaml
rclone:
enabled: true
enabled: yes
remotes:
- remote: NAME_OF_THE_REMOTE_YOU_JUST_CREATED
template: MOUNT_TEMPLATE
upload: false # true to configure cloudplow upload for this remote
upload_from: /mnt/local/Media
vfs_cache:
enabled: false
max_age: 504h
size: 50G
settings:
mount: yes
template: MOUNT_TEMPLATE
union: yes
upload: no # true to configure cloudplow upload for this remote
upload_from: /mnt/local/Media
vfs_cache:
enabled: no
max_age: 504h
size: 50G
version: latest
```
Expand Down
19 changes: 11 additions & 8 deletions docs/reference/guides/rclone-remote-dropbox.md
Original file line number Diff line number Diff line change
Expand Up @@ -202,16 +202,19 @@ Edit the other settings [`upload` and so forth] to suit your requirements.

```yaml
rclone:
enabled: true
enabled: yes
remotes:
- remote: NAME_OF_THE_REMOTE_YOU_JUST_CREATED
template: dropbox
upload: false # toggle as needed
upload_from: /mnt/local/Media
vfs_cache:
enabled: false
max_age: 504h
size: 50G
settings:
mount: yes
template: dropbox
union: yes
upload: no # toggle as needed
upload_from: /mnt/local/Media
vfs_cache:
enabled: no
max_age: 504h
size: 50G
version: latest
```

Expand Down
24 changes: 14 additions & 10 deletions docs/reference/local-storage.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Then disable rclone in `settings.yml`:

```ini
rclone:
enabled: false
enabled: no
remotes:
...
```
Expand All @@ -39,18 +39,22 @@ First, create an rclone remote pointing to your NAS using whatever connection sc
Then fill out the remote details in `settings.yml`
```ini
rclone:
enabled: true
enabled: yes
remotes:
- remote: THE_NAME_OF_THE_REMOTE_YOU_JUST_CREATED
template: sftp # whatever template or service file is appropriate
upload: true
upload_from: /mnt/local/Media
vfs_cache:
enabled: false
max_age: 504h
size: 50G
settings:
mount: yes
template: sftp # whatever template or service file is appropriate
union: yes
upload: yes
upload_from: /mnt/local/Media
vfs_cache:
enabled: no
max_age: 504h
size: 50G
version: latest
```
It should go without saying that you need to change `THE_NAME_OF_THE_REMOTE_YOU_JUST_CREATED` to whatevcer you called the rclone remote you created pointing at the NAS.

It should go without saying that you need to change `THE_NAME_OF_THE_REMOTE_YOU_JUST_CREATED` to whatever you called the rclone remote you created pointing at the NAS.

Then run the regular saltbox install. Your NAS [or whatever] will be mounted at `/mnt/remote/THE_NAME_OF_THE_REMOTE_YOU_JUST_CREATED`, added to the unionfs, and Cloudplow will handle moving from your local disk to the NAS.
40 changes: 23 additions & 17 deletions docs/saltbox/install/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -155,35 +155,41 @@ To edit any of the following configuration files use the command written in the
subdomain: login # (2)!
downloads: /mnt/unionfs/downloads # (3)!
rclone:
enabled: true # (4)!
enabled: yes # (4)!
remotes: # (5)!
- remote: google # (6)!
settings:
mount: yes # (7)!
template: google # (8)!
union: yes # (9)!
upload: true # (10)!
upload: yes # (10)!
upload_from: /mnt/local/Media # (11)!
vfs_cache:
enabled: false # (12)!
enabled: no # (12)!
max_age: 504h # (13)!
size: 50G # (14)!
- remote: dropbox
template: dropbox
upload: false
upload_from: /mnt/local/Media
vfs_cache:
enabled: false
max_age: 504h
size: 50G
settings:
mount: yes
template: dropbox
union: yes
upload: no
upload_from: /mnt/local/Media
vfs_cache:
enabled: no
max_age: 504h
size: 50G
- remote: feeder
template: sftp
upload: false
upload_from: /mnt/local/Media
vfs_cache:
enabled: false
max_age: 504h
size: 50G
settings:
mount: yes
template: sftp
union: yes
upload: no
upload_from: /mnt/local/Media
vfs_cache:
enabled: no
max_age: 504h
size: 50G
version: latest # (15)!
shell: bash # (16)!
transcodes: /mnt/local/transcodes # (17)!
Expand Down

0 comments on commit fe67b2f

Please sign in to comment.