Skip to content

Commit 6abe01e

Browse files
committed
ci: 🎡 add MYSQL_OPTION for docker compose
1 parent 6c1e913 commit 6abe01e

16 files changed

+16
-1
lines changed

docker-compose/mariadb1010.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ services:
1111
environment:
1212
MYSQL_USER: root
1313
MYSQL_PASSWORD: root_password
14+
MYSQL_OPTIONS: --ssl-mode=DISABLED
1415

1516
mariadb1010:
1617
image: mariadb:10.10

docker-compose/mariadb1011.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ services:
1111
environment:
1212
MYSQL_USER: root
1313
MYSQL_PASSWORD: root_password
14+
MYSQL_OPTIONS: --ssl-mode=DISABLED
1415

1516
mariadb1011:
1617
image: mariadb:10.11

docker-compose/mariadb102.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ services:
1111
environment:
1212
MYSQL_USER: root
1313
MYSQL_PASSWORD: root_password
14+
MYSQL_OPTIONS: --ssl-mode=DISABLED
1415

1516
mariadb102:
1617
image: mariadb:10.2

docker-compose/mariadb103.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ services:
1111
environment:
1212
MYSQL_USER: root
1313
MYSQL_PASSWORD: root_password
14+
MYSQL_OPTIONS: --ssl-mode=DISABLED
1415

1516
mariadb103:
1617
image: mariadb:10.3

docker-compose/mariadb104.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ services:
1111
environment:
1212
MYSQL_USER: root
1313
MYSQL_PASSWORD: root_password
14+
MYSQL_OPTIONS: --ssl-mode=DISABLED
1415

1516
mariadb104:
1617
image: mariadb:10.4

docker-compose/mariadb105.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ services:
1111
environment:
1212
MYSQL_USER: root
1313
MYSQL_PASSWORD: root_password
14+
MYSQL_OPTIONS: --ssl-mode=DISABLED
1415

1516
mariadb105:
1617
image: mariadb:10.5

docker-compose/mariadb106.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ services:
1111
environment:
1212
MYSQL_USER: root
1313
MYSQL_PASSWORD: root_password
14+
MYSQL_OPTIONS: --ssl-mode=DISABLED
1415

1516
mariadb106:
1617
image: mariadb:10.6

docker-compose/mariadb107.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ services:
1111
environment:
1212
MYSQL_USER: root
1313
MYSQL_PASSWORD: root_password
14+
MYSQL_OPTIONS: --ssl-mode=DISABLED
1415

1516
mariadb107:
1617
image: mariadb:10.7

docker-compose/mariadb108.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ services:
1111
environment:
1212
MYSQL_USER: root
1313
MYSQL_PASSWORD: root_password
14+
MYSQL_OPTIONS: --ssl-mode=DISABLED
1415

1516
mariadb108:
1617
image: mariadb:10.8

docker-compose/mariadb109.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ services:
1111
environment:
1212
MYSQL_USER: root
1313
MYSQL_PASSWORD: root_password
14+
MYSQL_OPTIONS: --ssl-mode=DISABLED
1415

1516
mariadb109:
1617
image: mariadb:10.9

docker-compose/mariadb110.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ services:
1111
environment:
1212
MYSQL_USER: root
1313
MYSQL_PASSWORD: root_password
14+
MYSQL_OPTIONS: --ssl-mode=DISABLED
1415

1516
mariadb110:
1617
image: mariadb:11.0

docker-compose/mariadb111.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ services:
1111
environment:
1212
MYSQL_USER: root
1313
MYSQL_PASSWORD: root_password
14+
MYSQL_OPTIONS: --ssl-mode=DISABLED
1415

1516
mariadb111:
1617
image: mariadb:11.1

docker-compose/mysql57.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ services:
1111
environment:
1212
MYSQL_USER: root
1313
MYSQL_PASSWORD: root_password
14+
MYSQL_OPTIONS: --ssl-mode=DISABLED
1415

1516
mysql57:
1617
image: mysql:5.7

docker-compose/mysql80.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ services:
1111
environment:
1212
MYSQL_USER: root
1313
MYSQL_PASSWORD: root_password
14+
MYSQL_OPTIONS: --ssl-mode=DISABLED
1415

1516
mysql80:
1617
image: mysql:8.0

docker-compose/mysql81.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ services:
1111
environment:
1212
MYSQL_USER: root
1313
MYSQL_PASSWORD: root_password
14+
MYSQL_OPTIONS: --ssl-mode=DISABLED
1415

1516
mysql81:
1617
image: mysql:8.1

docker-compose/wait-for-mysql.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ MYSQL_HOST="$1"
1111
shift
1212
cmd=$*
1313

14-
until mysql -h "$MYSQL_HOST" -u "$MYSQL_USER" -p"$MYSQL_PASSWORD" --ssl-mode=DISABLED -e 'exit'; do
14+
until mysql -h "$MYSQL_HOST" -u "$MYSQL_USER" -p"$MYSQL_PASSWORD" $MYSQL_OPTIONS -e 'exit'; do
1515
>&2 echo "mysql is unavailable - sleeping"
1616
sleep 1
1717
done

0 commit comments

Comments
 (0)