version: '3.6' services: bigbluebutton: image: imdt/bigbluebutton:2.6.x-develop_build_869 environment: HOSTNAME=lms.jingweiht.com DEBIAN_FRONTEND=noninteractive network_mode: "host" 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} network_mode: "host" ports: - 127.0.0.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