update volumes

This commit is contained in:
Sofyan Sugianto 2020-08-27 15:46:16 +07:00
parent 4ada698672
commit a575e2ceab
4 changed files with 13 additions and 9 deletions

View File

@ -2,10 +2,12 @@ version: '3.6'
services:
recordings:
build: mod/recordings
depends_on:
- redis
environment:
DOMAIN: ${DOMAIN}
volumes:
- /var/bigbluebutton:/var/bigbluebutton
- bigbluebutton:/var/bigbluebutton
- vol-freeswitch:/var/freeswitch/meetings
- vol-kurento:/var/kurento
networks:

View File

@ -6,8 +6,8 @@ services:
environment:
DOMAIN: ${DOMAIN}
SHARED_SECRET: ${SHARED_SECRET}
extra_hosts:
- "redis:10.7.7.5"
depends_on:
- redis
networks:
bbb-net:
ipv4_address: 10.7.7.15

View File

@ -17,7 +17,7 @@ services:
TURN_SERVER: ${TURN_SERVER:-}
TURN_SECRET: ${TURN_SECRET:-}
volumes:
- /var/bigbluebutton:/var/bigbluebutton
- bigbluebutton:/var/bigbluebutton
- vol-freeswitch:/var/freeswitch/meetings
- vol-kurento:/var/kurento
networks:
@ -57,7 +57,7 @@ services:
ports:
- "8080:80"
volumes:
- /var/bigbluebutton:/var/bigbluebutton
- bigbluebutton:/var/bigbluebutton
- ${DEFAULT_PRESENTATION:-/dev/null}:/etc/nginx/html/default.pdf
network_mode: host
extra_hosts:
@ -81,8 +81,8 @@ services:
redis:
image: redis:6.0-alpine
restart: unless-stopped
ports:
- "127.0.0.1:6379:6379" # TODO: remove as soon as we updated all redis host references
volumes:
- ./redis-data:/data
networks:
bbb-net:
ipv4_address: 10.7.7.5
@ -90,6 +90,8 @@ services:
mongodb:
image: mongo:4.2
restart: unless-stopped
volumes:
- ./mongo-data:/data/db
networks:
bbb-net:
ipv4_address: 10.7.7.6
@ -164,7 +166,7 @@ services:
- mongodb
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /var/bigbluebutton:/var/bigbluebutton
- bigbluebutton:/var/bigbluebutton
networks:
bbb-net:
ipv4_address: 10.7.7.12

View File

@ -1,4 +1,4 @@
location /bbb-exporter {
location /metrics {
proxy_pass http://10.7.7.33:9688;
proxy_http_version 1.1;
}