From 036b17ae0eb601aeab5ac4f6b0288a638a3abc3d Mon Sep 17 00:00:00 2001 From: Alecto Date: Tue, 22 Oct 2024 13:27:28 +0200 Subject: [PATCH] Fix grafana container restart policy (#8577) ### Motivation and context Fixes #8576 ### How has this been tested? I've tried it on my CVAT installation and it works. ### Checklist - [x] I submit my changes into the `develop` branch - [x] I have created a changelog fragment - [ ] I have updated the documentation accordingly - [ ] I have added tests to cover my changes - [x] I have linked related issues (see [GitHub docs]( https://help.github.com/en/github/managing-your-work-on-github/linking-a-pull-request-to-an-issue#linking-a-pull-request-to-an-issue-using-a-keyword)) ### License - [x] I submit _my code changes_ under the same [MIT License]( https://github.com/cvat-ai/cvat/blob/develop/LICENSE) that covers the project. Feel free to contact the maintainers if that's a concern. ## Summary by CodeRabbit - **New Features** - Introduced a new service, `cvat_grafana`, for enhanced Grafana container management. - Configured automatic restart and integrated with ClickHouse environment settings. - Added authentication options and plugin installations for Grafana. - Custom entrypoint script for setup of data sources and dashboards. - **Bug Fixes** - Resolved issues with the Grafana container restart policy to ensure proper management. --- changelog.d/20241022_114627_gui-u.md | 4 ++++ docker-compose.yml | 1 + 2 files changed, 5 insertions(+) create mode 100644 changelog.d/20241022_114627_gui-u.md diff --git a/changelog.d/20241022_114627_gui-u.md b/changelog.d/20241022_114627_gui-u.md new file mode 100644 index 00000000000..efa896e3328 --- /dev/null +++ b/changelog.d/20241022_114627_gui-u.md @@ -0,0 +1,4 @@ +### Fixed + +- Fix Grafana container restart policy + () diff --git a/docker-compose.yml b/docker-compose.yml index 569e163e9fe..0d3f802c82f 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -329,6 +329,7 @@ services: cvat_grafana: image: grafana/grafana-oss:10.1.2 + restart: always container_name: cvat_grafana environment: <<: *clickhouse-env