Skip to content

About

Build and publish container for hyperdht-prometheus-bridge

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

13 Commits

Folders and files

Repository files navigation

hyperdht-prometheus-bridge-docker

Build and publish container for hyperdht-prometheus-bridge

docker run --network host --env HYPERDHT_PROM_SHARED_SECRET=<A 64 character hex string> --mount type=bind,source=/etc/prometheus/config/prometheus-dht-targets,destination=/home/hyperdht-prometheus-bridge/prometheus ghcr.io/holepunchto/hyperdht-prometheus-bridge-docker

The intent is for the prometheus service to read its config from a read-only bind mount to /etc/prometheus/config, and for its config file to reference ./prometheus-dht-targets/targets.json

Note: /etc/prometheus/config/prometheus-dht-targets should be writable by the container's user.

Note: --network=host is optional, but HyperDHT holepunching can struggle using the default bridge network, particularly for LAN and localhost connections.

About

Build and publish container for hyperdht-prometheus-bridge

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages