forked from bigbluebutton/greenlight
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
36 lines (35 loc) · 884 Bytes
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
version: '3'
services:
app:
entrypoint: [bin/start]
image: greenlight:master
container_name: greenlight-master
env_file: .env
restart: unless-stopped
ports:
- 127.0.0.1:5000:80
# When using external logging
# logging:
# driver: $LOG_DRIVER
# options:
# syslog-address: $LOG_ADDRESS
# tag: $LOG_TAG
volumes:
- ./log:/usr/src/app/log
- ./storage:/usr/src/app/storage
# When using sqlite3 as the database
# - ./db/production:/usr/src/app/db/production
# When using postgresql as the database
links:
- db
db:
image: postgres:13.2-alpine
restart: unless-stopped
ports:
- 127.0.0.1:5432:5432
volumes:
- ./db/production:/var/lib/postgresql/data
environment:
- POSTGRES_DB=greenlight_production
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=password