File tree Expand file tree Collapse file tree 2 files changed +10
-3
lines changed
Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -7,8 +7,15 @@ RUN echo "Installing Python..." \
77 && apk add --no-cache python3 py3-pip \
88 && echo "Python installed successfully."
99
10+ # set timeout for plugin installation
11+ ENV GF_INSTALL_PLUGINS_TIMEOUT=300
12+
13+ # Install Grafana plugins
14+ RUN echo "Installing plugins..." \
15+ && grafana-cli plugins install grafana-lokiexplore-app
16+
1017# Copy provisioning and dashboards
11- RUN echo "Copying provisioning files..."
18+ RUN echo "========= \n\n\n\ C opying provisioning files..."
1219COPY ./provisioning /etc/grafana/provisioning
1320RUN echo "Provisioning files copied."
1421
Original file line number Diff line number Diff line change 22 "rules" : [
33 {
44 "rulePriority" : 1 ,
5- "description" : " Retain only the latest image " ,
5+ "description" : " Retain only the latest 10 images " ,
66 "selection" : {
77 "tagStatus" : " any" ,
88 "countType" : " imageCountMoreThan" ,
9- "countNumber" : 1 ,
9+ "countNumber" : 10 ,
1010 "tagPrefixList" : [" " ]
1111 },
1212 "action" : {
You can’t perform that action at this time.
0 commit comments