diff --git a/prometheus.yml b/prometheus.yml new file mode 100644 index 0000000..ffe0bda --- /dev/null +++ b/prometheus.yml @@ -0,0 +1,13 @@ +services: + prometheus: + image: prom/prometheus + container_name: prometheus + command: + - "--config.file=/etc/prometheus/prometheus.yml" + ports: + - 9090:9090 + restart: ${RESTART_POLICY:-unless-stopped} + volumes: + - ./prometheus:/etc/prometheus + networks: + meet.jitsi: \ No newline at end of file diff --git a/prometheus/prometheus.yml b/prometheus/prometheus.yml new file mode 100644 index 0000000..b806f42 --- /dev/null +++ b/prometheus/prometheus.yml @@ -0,0 +1,5 @@ +scrape_configs: + - job_name: "prometheus" + scrape_interval: 5s + static_configs: + - targets: ["prosody:5280","jvb:8080","jicofo:8888"]