Install: Settings
-
Go to the Cloudbox folder:
cd ~/cloudbox/
-
Create a settings from from the default one:
cp settings.yml.default settings.yml
Note: Only do this if a settings.yml doesn't exist.
-
Open the file in nano:
nano settings.yml
-
When done editing, save the file: Ctrl+X Y Enter.
---
user: seed
passwd: password123
domain: testcloudbox.ml
email: your@email.com
cloudflare_api_token:
nzbget:
downloads: /mnt/local/downloads/nzbget
rutorrent:
downloads: /mnt/local/downloads/rutorrent
plex:
tag: public
transcodes: /home/{{user}}/transcodes
rclone:
version: latest
backup:
tar_dest: /home/{{user}}/Backups
rsync_dest: rsync://somehost.com/Backups
rclone_dest: google:/Backups
keep_local_copy: true
use_rsync: false
use_rclone: false
cron_time: weekly
cron_state: absent
pushover_app_token:
pushover_user_key:
To see the information below in a nice-looking table, click here. (not working right now)
Note: {{user}}
tells Ansible to fill in the username automatically.
-
user
: User account for the server. If user account with this name does not already exist, it will be created for you. Default isseed
. This parameter is required. -
passwd
: Password for the user account. This parameter is required.- Note 1: Password must be in alphanumeric characters. No special characters.
-
domain
: Domain name for the Cloudbox server. If you don't have one, see Prerequisites. -
email
: E-mail address.-
This email will be used to register the Let's Encrypt SSL certificates and where you will receive certificate expiration notices.
-
This email must also be the same one used for your Cloudflare account (i.e. used for Cloudflare authentication along with the API token).
-
-
cloudflare_api_token
: By filling this out, you will allow Cloudbox to register the subdomains to Cloudflare DNS on your behalf, automatically. By leaving it blank, all Cloudflare related functions will be ignored.- Note: CDN/Proxy will not be turned on by default. However, you may turn them on later.
-
nzbget
-
downloads
: Path for NZBGet downloads. Default is/mnt/local/downloads/nzbget
.
-
-
rutorrent
:-
downloads
: Path for ruTorrent downloads. Default is/mnt/local/downloads/rutorrent
.
-
-
plex
:-
tag
: Options arepublic
,beta
, orversion tag
. Default ispublic
.-
Note 1: For list of version tags, visit https://hub.docker.com/r/plexinc/pms-docker/tags/.
-
Note 2: Use
beta
only if you have an active Plex Pass. -
Note 3: If you decide to change the tags later, you will need to update Plex by running the Cloudbox install command with the "plex" tag (i.e.
sudo ansible-playbook cloudbox.yml --tags plex
).
-
-
transcodes
: Path of temporary transcoding files. Default is"/home/{{user}}/transcodes"
.- Note: DO NOT use /tmp or /dev/shm as a transcode location. On reboots, /tmp and /dev/shm are cleared and this causes docker to recreate the folder as root, causing the plex transcoder to crash. See this comment from a Plex employee: https://forums.plex.tv/discussion/comment/1502936/#Comment_1502936.
-
-
rclone
:-
version
: Rclone version. Default listed version is the most currently, stable version. Default is1.38
.
-
-
backup
:-
tar_dest
: Path for local backups (.tar). Only the two of the most recent copies are kept. Default is"/home/{{user}}/Backups"
.- Note: Ensure the path does NOT have a trailing slash ( / ) or else backup will fail (i.e.
/sample/path
, not/sample/path/
).
- Note: Ensure the path does NOT have a trailing slash ( / ) or else backup will fail (i.e.
-
rsync_dest
: Path for rsync backups (.tar). Only the two of the most recent copies are kept.- Note: Ensure the path does NOT have a trailing slash ( / ) or else backup will fail (i.e.
/sample/path
, not/sample/path/
).
- Note: Ensure the path does NOT have a trailing slash ( / ) or else backup will fail (i.e.
-
rclone_dest
: Path for cloud (i.e Google Drive) backups. Only the two most recent copies are kept. Default isgoogle:/Backups
.- Note: Ensure the path does NOT have a trailing slash ( / ) or else backup "could" fail (i.e.
/sample/path
, not/sample/path/
).
- Note: Ensure the path does NOT have a trailing slash ( / ) or else backup "could" fail (i.e.
-
keep_local_copy
: Option to save local copies of the backup file intar_dest
after backup is complete. Default istrue
. -
use_rsync
: Option to enable/disable rsync backups. Options aretrue
orfalse
. Default isfalse
. -
use_rclone
: Option to enable/disable cloud (i.e Google Drive) backups. Options aretrue
orfalse
. Default isfalse
. -
cron_time
: How often to backup should run (only whencron_state
is set topresent
). Options arereboot
,yearly
,annually
,weekly
,daily
, orhourly
. Default isweekly
.- Note: It is not recommended to schedule backups hourly as backing up may take a long time and cause future backup attempts to fail (the backup will not occur while another one is in progress, thanks to backup.lock file being created/removed during this process).
-
cron_state
: Option to enable/disable automatic backups. Options areabsent
orpresent
. Default isabsent
.-
absent
will remove any existing backup schedule. -
present
will ensure it is always scheduled. -
Note 1: Whenever this option is changed (i.e. "
absent
->present
" or "present
->absent
"), a manual backup (sudo ansible-playbook cloudbox.yml --tags backup
) must be run once in order to enable or disable the backup schedule. -
Note 2: This option just allows Cloudbox to schedule the backup for you. You can manually schedule cron (e.g.
sudo crontab -e
) to run backups with/usr/local/bin/ansible-playbook /home/seed/cloudbox/cloudbox.yml --tags backup
called as root.
-
-
pushover_app_token
: Pushover App Token. Enables notifications to be sent when a backup task starts and finishes (requires both thePushover App Token
and thePushover User Key
). Default is blank. -
pushover_user_key
: Pushover User Key. Enables notifications to be sent when a backup task starts and finishes (requires both thePushover App Token
and thePushover User Key
). Default is blank.
-
- Overview
- Presumptions
- Server
- Domain Name
- Cloudflare
- Cloud Storage
- Plex / Emby - Account
- Usenet vs. BitTorrent
Cloudbox
- Overview
- Dependencies (Choose only one of these)
- Settings
- Preinstall (Choose only one of these)
- SSH
- Ansible Vault
- Rclone
- Cloudbox (Choose only one of these)
- Application Setup
- Next Steps
Feederbox (do this first)
- Overview
- Dependencies
- Settings
- Preinstall
- SSH
- Ansible Vault
- Rclone
- Feederbox (Choose only one of these)
- Application Setup
- Next Steps
Mediabox
- Overview
- Dependencies
- Settings
- Preinstall
- SSH
- Ansible Vault
- Rclone
- Mediabox (Choose only one of these)
- Application Setup
- Next Steps
- Cloudplow (Media Uploader)
- cb utility script (Develop branch only}
- Updating Cloudbox (Choose only one of these)
- Updating Cloudbox Apps
- Removing Cloudbox Apps
- Resetting Cloudbox Apps
- Migrating Cloudbox
- Settings Updater
- Ansible Vault Primer
- Plex Access Token
- Plex Autoscan Extras
- Pushover
- Google Drive API Client ID and Client Secret
- Useful Docker Commands
- Add Your Own Docker Container into Cloudbox
- Revoking SSL Certificates
- Feeder Mount
- Adding a Subdomain
- HTTP Auth Support
- Emby
- Nextcloud
- Resilio Sync
- Plex DupeFinder
- Heimdall
- NZBHydra v1
- Plex Requests
- Sickbeard MP4 Automator
- SABnzbd
- Traktarr
See Community Wiki.