Scripts
Script Updates
Currently there is no auto-update for the configure-rf or helper scripts so you may want to check for updates periodically.
- The
configure-rf
script will print the existing versions on your system when it runs:
You can check the release notes to see if there any updates or view the .sh
files directly on GitHub looking for any # VERSION
comments towards the top of each script.
-
Remove the scripts:
-
The command below will re-download the configure-rf script and run it which will then re-download the helper scripts:
curl -O https://raw.githubusercontent.com/Ne0n09/cloudflared-remotefalcon/main/configure-rf.sh; \ chmod +x configure-rf.sh; \ ./configure-rf.sh
Note
To check for updates to compose.yaml, .env, and default.conf check the instructions here
Scripts Details
Click through the tabs below to view detailed information for each script.
-
This script is used for the initial setup and configuration of cloudflared-remotefalcon.
-
It guides you on setting the required and some optional .env variables.
-
It can be re-run to view or update the variables or to run the container update or health check scripts.
-
Automatically downloads other helper scripts if they are missing.
-
Automatically creates the
remotefalcon
andremotefalcon-backups
directories. -
Automatically downloads the compose.yaml, .env, and default.conf files if they are missing.
-
This script will update the Remote Falcon containers to the latest available commit on the Remote Falcon Github.
-
The compose.yaml build context hash is updated to the latest commit for the container.
-
The image tag for the container is updated in the compose.yaml to the short-hash:
-
A backup of the compose.yaml is created when any of the containers are updated.
-
The script accepts two arguments:
-
[dry-run|auto-apply|interactive]
-
dry-run
: Displays if any updates are available or if up to date. -
auto-apply
: Automatically update all RF containers if any updates are found. -
interactive/no argument
: Display if update is available and prompt for confirmation before updating each container.
-
-
[health]
- Add
health
after the first argument to automatically run the health_check script.
- Add
-
-
This script will check and update the non-Remote Falcon containers to their latest available release.
-
The compose.yaml container image tag is updated to the latest release.
-
A backup of the compose.yaml is created when any of the containers are updated.
-
The script accepts three arguments:
-
[all|mongo|minio|nginx|cloudflared]
container_name
: You can specify an individual container or all. If left blank with no other arguments it will check all containers in interactive mode.
-
[dry-run|auto-apply|interactive]
:-
dry-run
: Displays if any updates are available or if up to date. -
auto-apply
: Automatically update all RF containers if any updates are found. -
interactive/no argument
: Display if update is available and prompt for confirmation before updating each container.
-
-
[health]
- Add
health
after the first two arguments to automatically run the health_check script.
- Add
-
./update_containers.sh [all|mongo|minio|nginx|cloudflared] [dry-run|auto-apply|interactive] [health]
./update_containers.sh
./update_containers.sh all dry-run health
./update_containers.sh all auto-apply

-
This script will perform a 'health check' of various things and displays any issues that are found.
-
Checks if containers are running.
-
Checks Remote Falcon endpoints.
-
Checks if the domain is not the default.
-
Checks if the .env file exists.
-
Checks if the Cloudflare Origin certificate and key exist and if they match.
-
Checks NGINX configuration and tests it.
-
Checks various MinIO configuration details for Image Hosting.
-
Checks Mongo to search for any shows that are configured and provides their URL.
-
This is to be able to make use of the External API.
-
Assists with getting your API access token and secret key from your Remote Falcon show in the MongoDB database without having Sendgrid configured for email.
-
Then the script generates a JWT for you to use.
-
This script will display shows that have admin access and allow you to toggle admin access when the show subdomain is passed as an argument.
-
Run the script with no arguments to display currently configured showRole(USER/ADMIN).
-
This basically lets you see and edit MongoDB information from within Remote Falcon.
-
This script will allow you to revert to a previous backup of the .env, compose.yaml, or MongoDB.
-
The script looks for backups in the 'remotefalcon-backups' directory.
-
This script will configure MinIO. Minio is a lightweight object storage server.
-
The script is called when 'configure-rf.sh' is run and if certain default values are found in the .env file for a hands-off setup and configuration.
-
The minio container is configured for local direct access to the control-panel container.
-
This lets you use the Image Hosting tab in the Control Panel which allows you to self host your viewer page images.
-
The script can be run again manually with no ill-effects to ensure MinIO is configured properly.
-
The script is automatically downloaded by configure-rf.
- This is a helper script for functions and variables that are re-used across the other scripts.