Skip to content

Commit

Permalink
docker-compose: update for new bitswap monitoring client
Browse files Browse the repository at this point in the history
  • Loading branch information
mrd0ll4r committed Sep 16, 2024
1 parent 0563d95 commit c3ffe39
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docker-compose/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,14 +95,21 @@ services:

monitoring-client:
image: "bitswap-monitoring-client:latest"
command:
- "--config"
- "./config/bitswap-monitoring-client-config.yaml"
restart: unless-stopped
expose:
- 8088
volumes:
- ./monitoring_client_config.yaml:/ipfs-tools/config/bitswap-monitoring-client-config.yaml
- geoip_data:/geoip
# Optional, if logging to disk is enabled in the config:
#- ./traces:/traces
environment:
- RUST_LOG=info
- PUID=1000
- PGID=1000
links:
- rabbitmq
- prometheus
Expand Down
5 changes: 5 additions & 0 deletions docker-compose/monitoring_client_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ geoip_database_path: "/geoip"
# Defaults to empty, i.e., no tagging of gateway traffic.
#gateway_file_path: "/usr/local/share/gateways.txt"

# Specifies a path to a directory to write JSON logs.
# A subdirectory per monitor will be created.
# If not provided, logging to disk will be disabled.
#disk_logging_directory: "/traces"

# List of AMQP data sources to connect to.
amqp_servers:
# Address of the AMQP server, using amqp or amqps (TLS transport) scheme.
Expand Down

0 comments on commit c3ffe39

Please sign in to comment.