From 61e1baad8dac4a85bc372d0e06532251ba33a58c Mon Sep 17 00:00:00 2001 From: ssupecial <56429615+ssupecial@users.noreply.github.com> Date: Tue, 19 Mar 2024 22:29:00 +0900 Subject: [PATCH] feat(infra): set docker volume mount to prometheus container (#41) --- docker-compose.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index e28cadb..225d0c5 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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' @@ -151,3 +152,4 @@ services: volumes: grafana_storage: {} minio_data_volume: + prometheus_data_volume: