2021-10-22 23:09:23 +02:00
|
|
|
version: "3.3"
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
grafana-storage:
|
|
|
|
prom-storage:
|
|
|
|
|
|
|
|
services:
|
|
|
|
prometheus:
|
|
|
|
image: prom/prometheus:latest
|
|
|
|
restart: always
|
|
|
|
volumes:
|
|
|
|
- prom-storage:/prometheus
|
|
|
|
- ./prometheus.yml:/etc/prometheus/prometheus.yml
|
|
|
|
command:
|
|
|
|
- '--config.file=/etc/prometheus/prometheus.yml'
|
|
|
|
- '--storage.tsdb.path=/prometheus'
|
|
|
|
ports:
|
|
|
|
- 9090:9090
|
|
|
|
extra_hosts:
|
|
|
|
- "host.docker.internal:host-gateway"
|
2021-11-01 20:13:30 +01:00
|
|
|
|
2021-10-22 23:09:23 +02:00
|
|
|
grafana:
|
|
|
|
image: grafana/grafana:latest
|
|
|
|
environment:
|
|
|
|
GF_SECURITY_ADMIN_USER: admin
|
|
|
|
GF_SECURITY_ADMIN_PASSWORD: memorablepassword
|
2021-10-26 23:44:39 +02:00
|
|
|
GF_INSTALL_PLUGINS: marcusolsson-csv-datasource
|
2021-10-22 23:09:23 +02:00
|
|
|
volumes:
|
|
|
|
- grafana-storage:/var/lib/grafana
|
|
|
|
- ./grafana.ini:/etc/grafana/grafana.ini
|
|
|
|
- ./grafana-datasource.yml:/etc/grafana/provisioning/datasources/datasource.yaml
|
|
|
|
depends_on:
|
|
|
|
- prometheus
|
|
|
|
ports:
|
|
|
|
- 3000:3000
|
|
|
|
|
2022-02-10 17:39:35 +01:00
|
|
|
dht:
|
2022-01-29 22:30:20 +01:00
|
|
|
image: lbry/dht-bootstrap:latest
|
|
|
|
command: --metrics_port 7777
|
|
|
|
restart: unless-stopped
|
2022-02-06 06:33:25 +01:00
|
|
|
network_mode: "host"
|
2022-02-10 17:46:05 +01:00
|
|
|
#ports:
|
|
|
|
# - 4444:4444/udp
|
2022-01-29 22:30:20 +01:00
|
|
|
|
2022-06-27 09:52:11 +02:00
|
|
|
dht-crawler:
|
|
|
|
image: lbry/dht-bootstrap:crawler # metrics at port 8080
|
|
|
|
entrypoint: python3
|
|
|
|
command: scripts/dht_crawler.py
|
|
|
|
container_name: dht_node_crawler
|
|
|
|
restart: unless-stopped
|
|
|
|
network_mode: "host"
|
|
|
|
|
|
|
|
|
2021-11-01 20:13:30 +01:00
|
|
|
# node-exporter:
|
|
|
|
# image: prom/node-exporter:latest
|
|
|
|
# container_name: monitoring_node_exporter
|
|
|
|
# restart: unless-stopped
|
|
|
|
# volumes:
|
|
|
|
# - "/:/host:ro,rslave"
|
|
|
|
# command:
|
|
|
|
# - "--path.rootfs=/host"
|
|
|
|
# pid: host
|
|
|
|
# #network_mode: host
|
|
|
|
# expose: [9100]
|