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: services:
recordings: recordings:
build: mod/recordings build: mod/recordings
depends_on:
- redis
environment: environment:
DOMAIN: ${DOMAIN} DOMAIN: ${DOMAIN}
volumes: volumes:
- /var/bigbluebutton:/var/bigbluebutton - bigbluebutton:/var/bigbluebutton
- vol-freeswitch:/var/freeswitch/meetings - vol-freeswitch:/var/freeswitch/meetings
- vol-kurento:/var/kurento - vol-kurento:/var/kurento
networks: networks:

View File

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

View File

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