diff --git a/docker-compose.greenlight.yml b/docker-compose.greenlight.yml index 0ca79fa..6b72930 100644 --- a/docker-compose.greenlight.yml +++ b/docker-compose.greenlight.yml @@ -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 \ No newline at end of file diff --git a/sample.env b/sample.env index 89da73b..a1cfc43 100644 --- a/sample.env +++ b/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 \ No newline at end of file