Skip to content

Fireshare Configurables

Shane Israel edited this page Jun 26, 2022 · 7 revisions

Configuring Fireshare is done through both Environment Variables and a generated Config.json file. Configurations that require the application to restart in order to take effect are done through Environment Variables. Where is configurations that can be changed on the fly are done so via a config.json file.

ENV VARIABLE

VARIABLE Default
ADMIN_PASSWORD admin The password used to log into the admin account.
SECRET_KEY The secret used to generate your session cookies.
MINUTES_BETWEEN_VIDEO_SCANS 5 The time in minutes Fireshare waits before running the scheduled video scans.

config.json

The config.json is located at your volume map for the /data directory. Changing these values does not require an application restart.

This config.json file can also be edited from the Settings page in the web application.

"app_config": {
  "video_defaults": {
    "private": true <-------------------------------# Default newly scanned videos to private
  },
  "allow_public_upload": false, <-------------------# Enable / Disable the url endpoint for public video uploads
  "public_upload_folder_name": "public uploads", <--# The folder that Fireshare will create or use to store public uploads
  "admin_upload_folder_name": "uploads" <-----------# The folder that Fireshare will create or use to store admin uploads
},
"ui_config": {
  "shareable_link_domain": "" <----# Override the domain used when copying links
  "show_public_upload": false, <---# Display the upload card ui element on the public videos page
  "show_admin_upload": true, <-----# Display the upload card ui element on the admin only page (My Videos)
}
Clone this wiki locally