2023-02-19 20:48:10 +08:00
|
|
|
version: '3.6'
|
|
|
|
|
2023-02-19 20:55:56 +08:00
|
|
|
services:
|
|
|
|
bigbluebutton:
|
|
|
|
image: imdt/bigbluebutton:2.6.x-develop_build_869
|
|
|
|
environment:
|
|
|
|
HOSTNAME=lms.jingweiht.com
|
|
|
|
DEBIAN_FRONTEND=noninteractive
|
2023-02-19 20:48:10 +08:00
|
|
|
|
|
|
|
greenlight:
|
|
|
|
image: onenetcom/greenlight
|
|
|
|
restart: unless-stopped
|
|
|
|
env_file: .env
|
|
|
|
environment:
|
|
|
|
DB_ADAPTER: postgresql
|
|
|
|
DB_HOST: postgres
|
|
|
|
DB_NAME: greenlight
|
|
|
|
DB_USERNAME: postgres
|
|
|
|
DB_PASSWORD: ${POSTGRESQL_SECRET:-password}
|
|
|
|
|
|
|
|
BIGBLUEBUTTON_ENDPOINT: https://${DOMAIN}/bigbluebutton/api/
|
|
|
|
|
|
|
|
BIGBLUEBUTTON_SECRET: ${SHARED_SECRET}
|
|
|
|
SECRET_KEY_BASE: ${RAILS_SECRET}
|
|
|
|
ports:
|
|
|
|
- 10.7.7.1:5000:80
|
|
|
|
|
|
|
|
postgres:
|
|
|
|
image: postgres:12-alpine
|
|
|
|
restart: unless-stopped
|
|
|
|
environment:
|
|
|
|
POSTGRES_DB: greenlight
|
|
|
|
POSTGRES_USER: postgres
|
|
|
|
POSTGRES_PASSWORD: ${POSTGRESQL_SECRET:-password}
|
|
|
|
healthcheck:
|
|
|
|
test: ["CMD-SHELL", "pg_isready -U postgres"]
|
|
|
|
interval: 10s
|
|
|
|
timeout: 5s
|
|
|
|
retries: 5
|
|
|
|
volumes:
|
|
|
|
- ./postgres-data:/var/lib/postgresql/data
|