Skip to content

Commit b4816a8

Browse files
authored
Merge pull request #10 from basicrum/jan-2024
Fixed a problem where we replace way too much where we replace some b…
2 parents b1de0fb + 5d0ecdf commit b4816a8

File tree

16 files changed

+414
-9604
lines changed

16 files changed

+414
-9604
lines changed

.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ GF_SECURITY_ADMIN_PASSWORD=password
88
CLICKHOUSE_DB=default
99
CLICKHOUSE_USER=basicrumreader
1010
CLICKHOUSE_PASSWORD=testpassword
11-
CLICKHOUSE_CONNECTION_URL="https://basicrum_clickhouse_server_build:8123"
11+
CLICKHOUSE_CONNECTION_URL="http://basicrum_clickhouse_server_build:8123"
1212

1313

1414
### CLICKHOUSE_USER used in:

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM grafana/grafana:10.0.5
1+
FROM grafana/grafana:10.2.2
22

33
###### Customization ########################################
44
USER root
@@ -29,7 +29,7 @@ RUN find /usr/share/grafana/public/build/ -name *.js -exec sed -i 's|({target:"_
2929
RUN find /usr/share/grafana/public/build/ -name *.js -exec sed -i 's|({target:"_blank",id:"version",.*CHANGELOG.md":void 0})|()|g' {} \;
3030

3131
## Remove New Version is available in the Footer
32-
RUN find /usr/share/grafana/public/build/ -name *.js -exec sed -i 's|({target:"_blank",id:"updateVersion",.*grafana_footer"})|()|g' {} \;
32+
RUN find /usr/share/grafana/public/build/ -name *.js -exec sed -i 's|({target:"_blank",id:"updateVersion",text:"New version available!",icon:"download-alt",url:"https://grafana.com/grafana/download?utm_source=grafana_footer"})|()|g' {} \;
3333

3434
## Remove News icon
3535
RUN find /usr/share/grafana/public/build/ -name *.js -exec sed -i 's|..createElement(....,{className:.,onClick:.,iconOnly:!0,icon:"rss","aria-label":"News"})|null|g' {} \;

0 commit comments

Comments
 (0)