Attach monitoring to dokploy network and target KYC service
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -6,4 +6,4 @@ scrape_configs:
|
||||
- job_name: kyc-metrics
|
||||
metrics_path: /metrics
|
||||
static_configs:
|
||||
- targets: ["kyc:8000"]
|
||||
- targets: ["optoviaproject-kyc-yw34pj:8000"]
|
||||
|
||||
Reference in New Issue
Block a user