2018-06-20 15:24:39 -04:00
|
|
|
version: '3'
|
|
|
|
|
2018-07-05 17:25:59 -04:00
|
|
|
services:
|
2018-06-20 15:24:39 -04:00
|
|
|
app:
|
|
|
|
entrypoint: [bin/start]
|
2018-07-06 11:42:50 -04:00
|
|
|
image: bigbluebutton/greenlight:v2
|
2018-07-05 17:25:59 -04:00
|
|
|
container_name: greenlight-v2
|
2018-10-26 11:59:49 -04:00
|
|
|
env_file: .env
|
2018-06-20 15:24:39 -04:00
|
|
|
restart: unless-stopped
|
|
|
|
ports:
|
2019-06-28 16:40:19 -04:00
|
|
|
- 127.0.0.1:5000:80
|
2019-05-24 11:53:40 -04:00
|
|
|
# When using external logging
|
2018-10-26 11:59:49 -04:00
|
|
|
# logging:
|
|
|
|
# driver: $LOG_DRIVER
|
|
|
|
# options:
|
|
|
|
# syslog-address: $LOG_ADDRESS
|
|
|
|
# tag: $LOG_TAG
|
2019-06-26 10:54:03 -04:00
|
|
|
volumes:
|
|
|
|
- ./log:/usr/src/app/log
|
2020-07-29 11:03:22 -04:00
|
|
|
- ./storage:/usr/src/app/storage
|
2019-06-26 10:54:03 -04:00
|
|
|
# When using sqlite3 as the database
|
2020-02-18 15:22:51 -05:00
|
|
|
# - ./db/production:/usr/src/app/db/production
|
2019-05-24 11:53:40 -04:00
|
|
|
# When using postgresql as the database
|
2020-02-18 15:22:51 -05:00
|
|
|
links:
|
|
|
|
- db
|
|
|
|
db:
|
|
|
|
image: postgres:9.5
|
2020-03-31 22:35:51 -04:00
|
|
|
restart: unless-stopped
|
2020-02-18 15:22:51 -05:00
|
|
|
ports:
|
|
|
|
- 127.0.0.1:5432:5432
|
|
|
|
volumes:
|
|
|
|
- ./db/production:/var/lib/postgresql/data
|
|
|
|
environment:
|
2020-02-28 14:45:44 -05:00
|
|
|
- POSTGRES_DB=postgres
|
|
|
|
- POSTGRES_USER=postgres
|
|
|
|
- POSTGRES_PASSWORD=password
|