docker/docker-compose.greenlight.yml

30 lines
765 B
YAML
Raw Normal View History

2020-04-12 16:01:57 +02:00
version: '3.6'
services:
greenlight:
image: bigbluebutton/greenlight:v2
2020-06-06 20:06:28 +02:00
restart: unless-stopped
2020-04-12 16:01:57 +02:00
env_file: .env
environment:
DB_ADAPTER: postgresql
DB_HOST: postgres
2020-08-27 10:44:45 +02:00
DB_NAME: ${POSTGRES_DB}
DB_USERNAME: ${POSTGRES_USER}
DB_PASSWORD: ${POSTGRES_PASSWORD}
BIGBLUEBUTTON_ENDPOINT: ${GREENLIGHT_ENDPOINT}
2020-04-12 16:01:57 +02:00
BIGBLUEBUTTON_SECRET: ${SHARED_SECRET}
SECRET_KEY_BASE: ${RAILS_SECRET}
2020-08-27 10:44:45 +02:00
depends_on:
- redis
2020-04-12 16:01:57 +02:00
ports:
- 10.7.7.1:5000:80
postgres:
image: postgres:12
2020-06-06 20:06:28 +02:00
restart: unless-stopped
2020-04-12 16:01:57 +02:00
environment:
2020-08-27 10:44:45 +02:00
POSTGRES_DB: ${POSTGRES_DB}
POSTGRES_USER: ${POSTGRES_USER}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
2020-05-17 11:06:28 +02:00
volumes:
- ./postgres-data:/var/lib/postgresql/data