mirror of
https://github.com/bigbluebutton/docker.git
synced 2025-01-13 17:28:13 +01:00
use env file in greenlight database
This commit is contained in:
parent
25a345dd80
commit
e056e52d19
@ -9,20 +9,22 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
DB_ADAPTER: postgresql
|
DB_ADAPTER: postgresql
|
||||||
DB_HOST: postgres
|
DB_HOST: postgres
|
||||||
DB_NAME: greenlight
|
DB_NAME: ${POSTGRES_DB}
|
||||||
DB_USERNAME: postgres
|
DB_USERNAME: ${POSTGRES_USER}
|
||||||
DB_PASSWORD: password
|
DB_PASSWORD: ${POSTGRES_PASSWORD}
|
||||||
BIGBLUEBUTTON_ENDPOINT: ${GREENLIGHT_ENDPOINT}
|
BIGBLUEBUTTON_ENDPOINT: ${GREENLIGHT_ENDPOINT}
|
||||||
BIGBLUEBUTTON_SECRET: ${SHARED_SECRET}
|
BIGBLUEBUTTON_SECRET: ${SHARED_SECRET}
|
||||||
SECRET_KEY_BASE: ${RAILS_SECRET}
|
SECRET_KEY_BASE: ${RAILS_SECRET}
|
||||||
|
depends_on:
|
||||||
|
- redis
|
||||||
ports:
|
ports:
|
||||||
- 10.7.7.1:5000:80
|
- 10.7.7.1:5000:80
|
||||||
postgres:
|
postgres:
|
||||||
image: postgres:12
|
image: postgres:12
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
environment:
|
environment:
|
||||||
POSTGRES_DB: greenlight
|
POSTGRES_DB: ${POSTGRES_DB}
|
||||||
POSTGRES_USER: postgres
|
POSTGRES_USER: ${POSTGRES_USER}
|
||||||
POSTGRES_PASSWORD: password
|
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
|
||||||
volumes:
|
volumes:
|
||||||
- ./postgres-data:/var/lib/postgresql/data
|
- ./postgres-data:/var/lib/postgresql/data
|
21
sample.env
21
sample.env
@ -168,6 +168,21 @@ LDAP_FILTER=
|
|||||||
#
|
#
|
||||||
ALLOW_GREENLIGHT_ACCOUNTS=true
|
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
|
# Set this to true if you want GreenLight to send verification emails upon
|
||||||
# the creation of a new account
|
# 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
|
# invite - For invite only registration
|
||||||
# approval - For approve/decline registration
|
# approval - For approve/decline registration
|
||||||
DEFAULT_REGISTRATION=open
|
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