mirror of
https://github.com/bigbluebutton/docker.git
synced 2024-12-26 00:29:13 +01:00
use env file in greenlight database
This commit is contained in:
parent
25a345dd80
commit
e056e52d19
@ -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
sample.env
21
sample.env
@ -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
|
||||
#
|
||||
@ -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
|
Loading…
Reference in New Issue
Block a user