mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Grafana: Upgrades mysql images from 5.7 to 8 (#67604)
adds mysql integration build step for mysql 8
This commit is contained in:
@@ -1 +1 @@
|
||||
mysql_version=5.7.39
|
||||
mysql_version=8.0.32
|
||||
|
||||
@@ -1 +1 @@
|
||||
mysql_version=5.7.39
|
||||
mysql_version=8.0.32
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
ARG mysql_version=5.7.39
|
||||
ARG mysql_version=8.0.32
|
||||
FROM mysql:${mysql_version}
|
||||
ADD setup.sql /docker-entrypoint-initdb.d
|
||||
RUN chown -R mysql:mysql /docker-entrypoint-initdb.d/
|
||||
|
||||
@@ -2,7 +2,7 @@ version: "2.1"
|
||||
|
||||
services:
|
||||
db:
|
||||
image: mysql:5.7.39
|
||||
image: mysql:8.0.32
|
||||
platform: linux/x86_64
|
||||
environment:
|
||||
MYSQL_ROOT_PASSWORD: rootpass
|
||||
|
||||
@@ -16,7 +16,7 @@ services:
|
||||
tag: nginx
|
||||
|
||||
db:
|
||||
image: mysql:5.7.39
|
||||
image: mysql:8.0.32
|
||||
environment:
|
||||
MYSQL_ROOT_PASSWORD: rootpass
|
||||
MYSQL_DATABASE: grafana
|
||||
|
||||
Reference in New Issue
Block a user