forked from External/greenlight
Updated unified sample.env and setup default values to some variables
This commit is contained in:
142
sample.env
142
sample.env
@@ -1,11 +1,71 @@
|
||||
# This is a sample of the environment variables you will need for development
|
||||
# This is a sample of the environment variables you will need
|
||||
# To use, copy this file to .env `cp sample.env .env`
|
||||
|
||||
RAILS_ENV=development
|
||||
|
||||
# BigBlueButton
|
||||
BIGBLUEBUTTON_ENDPOINT=
|
||||
BIGBLUEBUTTON_SECRET=
|
||||
# For production only
|
||||
|
||||
# RAILS_ENV=production
|
||||
|
||||
# Create a secret key for rails
|
||||
#
|
||||
# You can generate a secure one through the Greenlight docker image
|
||||
# with with the command
|
||||
#
|
||||
# docker run --rm bigbluebutton/greenlight rake secret
|
||||
#
|
||||
# SECRET_KEY_BASE=
|
||||
|
||||
|
||||
# For either developent or production
|
||||
|
||||
# Enter credentials for your BigBlueButton Server
|
||||
#
|
||||
# The endpoint and secret from your bigbluebutton server. To get these values, run
|
||||
# the following command on your BigBlueButton server
|
||||
#
|
||||
# bbb-conf --secret
|
||||
#
|
||||
# and uncomment the following two variables
|
||||
# BIGBLUEBUTTON_ENDPOINT=http://test-install.blindsidenetworks.com/bigbluebutton/
|
||||
# BIGBLUEBUTTON_SECRET=8cd8ef52e8e101574e400365b55e11a6
|
||||
|
||||
# Twitter Login Provider (optional)
|
||||
#
|
||||
# You will need to register the app at https://apps.twitter.com/
|
||||
# For the callback URL use 'http://<your hostname:port>/auth/twitter/callback'
|
||||
# Once registered copy the ID and Secret here
|
||||
#
|
||||
# TWITTER_ID=
|
||||
# TWITTER_SECRET=
|
||||
|
||||
# Google Login Provider (optional)
|
||||
#
|
||||
# You will need to register for at https://console.developers.google.com/apis/credentials
|
||||
# Select Oauth client ID -> web application
|
||||
# For the callback URL use 'http://<your hostname:port>/auth/google/callback'
|
||||
# Once registered copy the ID and Secret here
|
||||
#
|
||||
# The GOOGLE_OAUTH2_HD variable is used to limit sign-in to a particular Google Apps hosted domain. This
|
||||
# can be a string such as, 'domain.com'. If left blank, GreenLight will allow sign-in from all Google Apps hosted
|
||||
# domains.
|
||||
#
|
||||
# GOOGLE_OAUTH2_ID=
|
||||
# GOOGLE_OAUTH2_SECRET=
|
||||
# GOOGLE_OAUTH2_HD=
|
||||
|
||||
# LDAP Login Provider (optional)
|
||||
#
|
||||
# You can enable LDAP authentication by providing values for the variables below.
|
||||
# For information about setting up LDAP, see:
|
||||
# http://docs.bigbluebutton.org/install/green-light.html#ldap-oauth
|
||||
#
|
||||
# LDAP_SERVER=
|
||||
# LDAP_PORT=
|
||||
# LDAP_METHOD=
|
||||
# LDAP_UID=
|
||||
# LDAP_BASE=
|
||||
# LDAP_BIND_DN=
|
||||
# LDAP_PASSWORD=
|
||||
|
||||
# If "true", GreenLight will register a webhook callback for each meeting
|
||||
# created. This callback is called for all events that happen in the meeting,
|
||||
@@ -15,31 +75,63 @@ BIGBLUEBUTTON_SECRET=
|
||||
# callback URL. Scripts can then be added to BigBlueButton to call this callback
|
||||
# URL and send specific events to GreenLight (e.g. a post publish script to warn
|
||||
# the application when recordings are done).
|
||||
GREENLIGHT_USE_WEBHOOKS=false
|
||||
# GREENLIGHT_USE_WEBHOOKS=true
|
||||
|
||||
# The web site domain, needed for emails mostly
|
||||
GREENLIGHT_DOMAIN=localhost
|
||||
# Enable uploading to Youtube (optional)
|
||||
#
|
||||
# When this is enabled, users will be able to directly upload their recordings
|
||||
# to Youtube. If you plan to enable this, you should follow the steps outlined
|
||||
# in our docs for setting up the Youtube data API.
|
||||
#
|
||||
# http://docs.bigbluebutton.org/install/green-light.html#8-enabling-uploading-to-youtube-optional
|
||||
#
|
||||
# ENABLE_YOUTUBE_UPLOADING=false
|
||||
|
||||
# Enable email notifications
|
||||
GREENLIGHT_MAIL_NOTIFICATIONS=true
|
||||
# Slack Integration (optional)
|
||||
#
|
||||
# You will need to register an incoming-webhook for your slack channel
|
||||
# in order for GreenLight to post to it. You can do this by going
|
||||
# to https://slack.com/apps/A0F7XDUAZ-incoming-webhooks, selecting your
|
||||
# team and then selecting "Add Incoming WebHooks integration" on the
|
||||
# desired channel. You will then need to paste the webhook below.
|
||||
#
|
||||
# SLACK_WEBHOOK=
|
||||
# SLACK_CHANNEL=
|
||||
|
||||
# Email configurations
|
||||
SMTP_FROM=email@gmail.com
|
||||
SMTP_SERVER=smtp.gmail.com
|
||||
SMTP_DOMAIN=gmail.com
|
||||
SMTP_PORT=587
|
||||
SMTP_USERNAME=email@gmail.com
|
||||
SMTP_PASSWORD=my-secret-password
|
||||
# Landing Background (optional)
|
||||
#
|
||||
# Supply a URL to an image to change the landing background. If no
|
||||
# URL is provided GreenLight will use a default image. If you
|
||||
# supply a path that does not lead to an image, no landing image
|
||||
# will appear.
|
||||
#
|
||||
# LANDING_BACKGROUND=
|
||||
|
||||
# SMTP Mailer (optional)
|
||||
#
|
||||
# GREENLIGHT_MAIL_NOTIFICATIONS=true
|
||||
# In the format [localhost.localdomain]
|
||||
# GREENLIGHT_DOMAIN=localhost
|
||||
# SMTP_FROM=youremail@gmail.com
|
||||
# SMTP_SERVER=smtp.gmail.com
|
||||
# SMTP_PORT=587
|
||||
# SMTP_DOMAIN=gmail.com
|
||||
# SMTP_USERNAME=youremail@gmail.com
|
||||
# SMTP_PASSWORD=yourpassword
|
||||
# SMTP_TLS=false
|
||||
# SMTP_AUTH=login
|
||||
# SMTP_STARTTLS_AUTO=true
|
||||
|
||||
# OmniAuth
|
||||
TWITTER_ID=
|
||||
TWITTER_SECRET=
|
||||
GOOGLE_OAUTH2_ID=
|
||||
GOOGLE_OAUTH2_SECRET=
|
||||
# Prefix for the application's root URL
|
||||
# Useful for deploying the application to a subdirectory
|
||||
#
|
||||
# default is '/b' (recommended)
|
||||
#
|
||||
# RELATIVE_URL_ROOT=/b
|
||||
|
||||
# For production
|
||||
SECRET_KEY_BASE=
|
||||
HOSTNAME=
|
||||
# Uncomment and set to 'true' to only allow users to create meetings when authenticated.
|
||||
# Unauthenticated users are still able to join meetings through invites.
|
||||
# DISABLE_GUEST_ACCESS=false
|
||||
|
||||
# Comment this out to send logs to STDOUT in production instead of log/production.log .
|
||||
DISABLE_RAILS_LOG_TO_STDOUT=true
|
||||
|
||||
Reference in New Issue
Block a user