mirror of
https://github.com/furyhawk/cloudy.git
synced 2026-07-21 02:05:53 +00:00
fix: update Prometheus service port configuration and correct Traefik target in scrape config
This commit is contained in:
@@ -21,6 +21,9 @@ services:
|
||||
- ./prometheus/prometheus.yml:/etc/prometheus/prometheus.yml:ro
|
||||
networks:
|
||||
- traefik-public
|
||||
ports:
|
||||
- target: 9090
|
||||
published: 9090
|
||||
deploy:
|
||||
mode: replicated
|
||||
replicas: 1
|
||||
|
||||
@@ -16,4 +16,4 @@ scrape_configs:
|
||||
# Metrics are served on the dedicated "metrics" entrypoint (port 8082).
|
||||
- job_name: 'traefik'
|
||||
static_configs:
|
||||
- targets: ['192.168.50.220:8082']
|
||||
- targets: ['core_traefik:8082']
|
||||
|
||||
Reference in New Issue
Block a user