Skip to content

Commit

Permalink
update docker composer files
Browse files Browse the repository at this point in the history
  • Loading branch information
greenstatic committed Mar 24, 2024
1 parent 1947c79 commit 641398b
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 7 deletions.
12 changes: 8 additions & 4 deletions extras/all_in_one_monitoring/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,26 @@ version: '3.2'
services:
bbb-exporter:
container_name: bbb-exporter
image: greenstatic/bigbluebutton-exporter:v0.6.1
image: greenstatic/bigbluebutton-exporter:v0.7.0
network_mode: host
volumes:
# Can be removed if `BBB_VERSION_READ_FROM_DISK` is set to false (or omitted).
- "/etc/bigbluebutton/bigbluebutton-release:/etc/bigbluebutton/bigbluebutton-release:ro"

# Can be removed if `RECORDINGS_METRICS_READ_FROM_DISK` is set to false (or omitted).
# See https://bigbluebutton-exporter.greenstatic.dev/exporter-user-guide/#optimizations for details.
- "/var/bigbluebutton:/var/bigbluebutton:ro"
environment:
BIND_IP: "127.0.0.1"
BBB_VERSION_READ_FROM_DISK: "true"
RECORDINGS_METRICS_READ_FROM_DISK: "true"
env_file:
- bbb_exporter_secrets.env
restart: unless-stopped

prometheus:
container_name: prometheus
image: prom/prometheus:v2.37.1
image: prom/prometheus:v2.51.0
network_mode: host
command:
# Default commands from Dockerfile
Expand All @@ -35,7 +39,7 @@ services:

grafana:
container_name: grafana
image: grafana/grafana:9.1.5
image: grafana/grafana:10.3.5
network_mode: host
environment:
GF_SERVER_HTTP_ADDR: "127.0.0.1"
Expand All @@ -47,7 +51,7 @@ services:

node_exporter:
container_name: node_exporter
image: prom/node-exporter:v1.3.1
image: prom/node-exporter:v1.7.0
network_mode: host
command:
- "--path.rootfs=/host"
Expand Down
4 changes: 2 additions & 2 deletions extras/docker-compose.exporter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@ version: '3'
services:
bbb-exporter:
container_name: "bbb-exporter"
image: greenstatic/bigbluebutton-exporter:v0.6.1
image: greenstatic/bigbluebutton-exporter:v0.7.0
ports:
- "127.0.0.1:9688:9688"
volumes:

# Can be removed if `BBB_VERSION_READ_FROM_DISK` is set to false (or omitted).
- "/etc/bigbluebutton/bigbluebutton-release:/etc/bigbluebutton/bigbluebutton-release:ro"

# Can be removed if `RECORDINGS_METRICS_READ_FROM_DISK` is set to false (or omitted).
# See https://bigbluebutton-exporter.greenstatic.dev/exporter-user-guide/#optimizations for details.
- "/var/bigbluebutton:/var/bigbluebutton:ro"

# There can be an issue of DNS resolution if the hostname and the api url is the same.
# Docker then advertises the FQDN as a local 127.0.0.1 IP inside the container.
#extra_hosts:
Expand Down
2 changes: 1 addition & 1 deletion extras/node_exporter/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ services:
container_name: node_exporter
# Always check if there is a newer stable release:
# https://hub.docker.com/r/prom/node-exporter/tags
image: prom/node-exporter:v0.18.1
image: prom/node-exporter:v1.7.0
command:
- "--path.rootfs=/host"
- "--web.listen-address=127.0.0.1:9100"
Expand Down
5 changes: 5 additions & 0 deletions extras/systemd/bigbluebutton-exporter/settings.env
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ API_SECRET=TODO
BIND_IP=127.0.0.1
PORT=9688
#DEBUG=true

# Requires access to /etc/bigbluebutton/bigbluebutton-release (only available on the BigBlueButton server itself)
# See https://bigbluebutton-exporter.greenstatic.dev/exporter-user-guide/#environment-variables for details.
#BBB_VERSION_READ_FROM_DISK=true

# Requires access to /var/bigbluebutton (only available on the BigBlueButton server itself)
# See https://bigbluebutton-exporter.greenstatic.dev/exporter-user-guide/#optimizations for details.
#RECORDINGS_METRICS_READ_FROM_DISK=true

0 comments on commit 641398b

Please sign in to comment.