Skip to content

Commit

Permalink
mapping project directory to docker volumes
Browse files Browse the repository at this point in the history
  • Loading branch information
harikrishnan83 committed Apr 11, 2021
1 parent ddcd758 commit a620a06
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ services:
links:
- prometheus:prometheus
volumes:
- ./prometheus-metrics-monitor/grafana/data:/var/lib/grafana
- ./prometheus-metrics-monitor/grafana/dashboards:/var/lib/grafana/dashboards
- ${PROJECT_DIR}/perfiz/grafana_data:/var/lib/grafana
- ${PROJECT_DIR}/perfiz/dashboards:/var/lib/grafana/dashboards
- ./prometheus-metrics-monitor/grafana/provisioning:/etc/grafana/provisioning
networks:
- perfiz-network
Expand All @@ -19,8 +19,8 @@ services:
ports:
- "9090:9090"
volumes:
- ./prometheus-metrics-monitor/prometheus/:/etc/prometheus/
- ./prometheus-metrics-monitor/prometheus_data:/prometheus
- ${PROJECT_DIR}/perfiz/prometheus/:/etc/prometheus/
- ${PROJECT_DIR}/perfiz/prometheus_data:/prometheus
depends_on:
- cadvisor
networks:
Expand Down Expand Up @@ -61,7 +61,7 @@ services:
- "8086:8086"
- "2003:2003"
volumes:
- ./prometheus-metrics-monitor/influxdb/data:/var/lib/influxdb
- ${PROJECT_DIR}/perfiz/influxdb_data:/var/lib/influxdb
networks:
- perfiz-network

Expand Down

0 comments on commit a620a06

Please sign in to comment.