Skip to content

Commit

Permalink
feat(infra): set docker volume mount to prometheus container (#41)
Browse files Browse the repository at this point in the history
  • Loading branch information
ssupecial authored Mar 19, 2024
1 parent d92b1bd commit 61e1baa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ services:
- "9090:9090"
volumes:
- "$PWD/config/prometheus/prometheus-config.yml:/etc/prometheus/prometheus-config.yml"
- prometheus_data_volume:/prometheus
command:
- '--config.file=/etc/prometheus/prometheus-config.yml'
- '--storage.tsdb.path=/prometheus'
Expand Down Expand Up @@ -151,3 +152,4 @@ services:
volumes:
grafana_storage: {}
minio_data_volume:
prometheus_data_volume:

0 comments on commit 61e1baa

Please sign in to comment.