Skip to content
This repository has been archived by the owner on Dec 14, 2021. It is now read-only.

Commit

Permalink
use env file in greenlight database
Browse files Browse the repository at this point in the history
  • Loading branch information
artemtech committed Aug 27, 2020
1 parent 25a345d commit e056e52
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 6 deletions.
14 changes: 8 additions & 6 deletions docker-compose.greenlight.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,22 @@ services:
environment:
DB_ADAPTER: postgresql
DB_HOST: postgres
DB_NAME: greenlight
DB_USERNAME: postgres
DB_PASSWORD: password
DB_NAME: ${POSTGRES_DB}
DB_USERNAME: ${POSTGRES_USER}
DB_PASSWORD: ${POSTGRES_PASSWORD}
BIGBLUEBUTTON_ENDPOINT: ${GREENLIGHT_ENDPOINT}
BIGBLUEBUTTON_SECRET: ${SHARED_SECRET}
SECRET_KEY_BASE: ${RAILS_SECRET}
depends_on:
- redis
ports:
- 10.7.7.1:5000:80
postgres:
image: postgres:12
restart: unless-stopped
environment:
POSTGRES_DB: greenlight
POSTGRES_USER: postgres
POSTGRES_PASSWORD: password
POSTGRES_DB: ${POSTGRES_DB}
POSTGRES_USER: ${POSTGRES_USER}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
volumes:
- ./postgres-data:/var/lib/postgresql/data
21 changes: 21 additions & 0 deletions sample.env
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,21 @@ LDAP_FILTER=
#
ALLOW_GREENLIGHT_ACCOUNTS=true

# To enable reCaptcha on the user sign up, define these 2 keys
# You can obtain these keys by registering your domain using the following url:
#
# https://www.google.com/recaptcha/admin
#
# RECAPTCHA_SITE_KEY=
# RECAPTCHA_SECRET_KEY=

# To enable Google Analytics on your site, set this key to the Google Analytics Property Tracking ID
#
# https://analytics.google.com/analytics/web/
#
# GOOGLE_ANALYTICS_TRACKING_ID=


# Set this to true if you want GreenLight to send verification emails upon
# the creation of a new account
#
Expand Down Expand Up @@ -295,3 +310,9 @@ HELP_URL=https://docs.bigbluebutton.org/greenlight/gl-overview.html
# invite - For invite only registration
# approval - For approve/decline registration
DEFAULT_REGISTRATION=open

# Specify database for Greenlight.
# please change POSTGRES_PASSWORD with your secure password
POSTGRES_DB=greenlight
POSTGRES_USER=postgres
POSTGRES_PASSWORD=verysecurepassword

0 comments on commit e056e52

Please sign in to comment.