Attach monitoring to dokploy network and target KYC service

This commit is contained in:
Ruslan Bakiev
2026-02-03 11:51:51 +07:00
parent e909ca38ec
commit e4b1ef11f5
2 changed files with 10 additions and 1 deletions

View File

@@ -10,6 +10,8 @@ services:
- "--storage.tsdb.retention.time=30d"
expose:
- "9090"
networks:
- dokploy
restart: unless-stopped
grafana:
@@ -26,4 +28,11 @@ services:
- "3000"
depends_on:
- prometheus
networks:
- dokploy
restart: unless-stopped
networks:
dokploy:
external: true
name: dokploy-network

View File

@@ -6,4 +6,4 @@ scrape_configs:
- job_name: kyc-metrics
metrics_path: /metrics
static_configs:
- targets: ["kyc:8000"]
- targets: ["optoviaproject-kyc-yw34pj:8000"]