Skip to content

Commit ceaa77f

Browse files
authored
Merge pull request #436 from Boavizta/434-document-how-to-persist-prometheus-data-when-the-container-is-recreated
feat: add a prometheus data volume in the docker-compose example.
2 parents 9448ad0 + 0c10be0 commit ceaa77f

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1010
_This paragraph may describe WIP/unreleased features. They are merged to main branch but not tagged._
1111

1212
- [Release 2.0.3 uses dev Boavizta API URL instead of stable · Issue #425 · Boavizta/cloud-scanner](https://github.com/Boavizta/cloud-scanner/issues/425)
13+
- Add a prometheus data volume in the docker-compose example [Document how to persist prometheus data when the container is recreated · Issue #434 · Boavizta/cloud-scanner](https://github.com/Boavizta/cloud-scanner/issues/434)
1314

1415
## [2.0.3]-2024-01-17
1516

docker-compose.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ services:
4545
image: docker.io/prom/prometheus
4646
volumes:
4747
- ./dashboard-config/prometheus/prometheus.yml:/etc/prometheus/prometheus.yml
48+
- prometheus-data:/prometheus
4849
ports:
4950
- "9090:9090"
5051
networks:
@@ -62,6 +63,7 @@ services:
6263
- network_boa
6364

6465
volumes:
66+
prometheus-data:
6567
grafana-data:
6668

6769
networks:

0 commit comments

Comments
 (0)