Skip to content

Commit

Permalink
fix:target
Browse files Browse the repository at this point in the history
  • Loading branch information
Tekum-Emmanuella committed Jan 14, 2025
1 parent 12b4b89 commit 12a68a4
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ SERVER_PUBLIC_DOMAIN="http://didcomm-mediator.com"
SERVER_LOCAL_PORT="8080"
STORAGE_DIRPATH="crates/generic-server/target/storage"
MONGO_DBN="mediator-coordination"
MONGO_URI="mongodb://localhost:27017"
MONGO_URI="mongodb://mongodb:27017"
3 changes: 1 addition & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,7 @@ chrono = { workspace = true, optional = true }
did-endpoint = { workspace = true, optional = true }
oob-messages = { workspace = true, optional = true }
didcomm-messaging = { workspace = true, optional = true }
prometheus = "0.13.4"
actix-web = "4.9.0"
axum-prometheus = "0.8.0"



Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ services:
networks:
- mediator-network
ports:
- "27018:27017" # Expose MongoDB port
- "27019:27019" # Expose MongoDB port

# Prometheus Service
prometheus:
Expand Down
4 changes: 2 additions & 2 deletions prometheus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ scrape_configs:
- job_name: 'didcomm-mediator'
static_configs:
- targets:
- 'didcomm-mediator:9100' # Scrape the metrics from the mediator service
- 'localhost:8080' # Scrape the metrics from the mediator service

- job_name: 'mongodb'
static_configs:
- targets: ['mongodb:27017']
- targets: ['mongodb:27019']

- job_name: 'node-exporter'
static_configs:
Expand Down

0 comments on commit 12a68a4

Please sign in to comment.