From ca90e64077520441cf39fedace192598b8aa33c0 Mon Sep 17 00:00:00 2001 From: CrazyMax <1951866+crazy-max@users.noreply.github.com> Date: Sun, 26 May 2024 09:19:51 +0200 Subject: [PATCH] examples: generate random password for db root --- examples/compose/compose.yml | 2 +- examples/nginx/compose.yml | 2 +- examples/rspamd/compose.yml | 2 +- examples/traefik/compose.yml | 2 +- test/compose.yml | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/examples/compose/compose.yml b/examples/compose/compose.yml index 05c7722..2ed5456 100644 --- a/examples/compose/compose.yml +++ b/examples/compose/compose.yml @@ -11,7 +11,7 @@ services: volumes: - "./db:/var/lib/mysql" environment: - - "MYSQL_ALLOW_EMPTY_PASSWORD=yes" + - "MARIADB_RANDOM_ROOT_PASSWORD=yes" - "MYSQL_DATABASE" - "MYSQL_USER" - "MYSQL_PASSWORD" diff --git a/examples/nginx/compose.yml b/examples/nginx/compose.yml index bd468d1..a81759d 100644 --- a/examples/nginx/compose.yml +++ b/examples/nginx/compose.yml @@ -11,7 +11,7 @@ services: volumes: - "./db:/var/lib/mysql" environment: - - "MYSQL_ALLOW_EMPTY_PASSWORD=yes" + - "MARIADB_RANDOM_ROOT_PASSWORD=yes" - "MYSQL_DATABASE" - "MYSQL_USER" - "MYSQL_PASSWORD" diff --git a/examples/rspamd/compose.yml b/examples/rspamd/compose.yml index 7c2065f..fcc2c05 100644 --- a/examples/rspamd/compose.yml +++ b/examples/rspamd/compose.yml @@ -11,7 +11,7 @@ services: volumes: - "./db:/var/lib/mysql" environment: - - "MYSQL_ALLOW_EMPTY_PASSWORD=yes" + - "MARIADB_RANDOM_ROOT_PASSWORD=yes" - "MYSQL_DATABASE" - "MYSQL_USER" - "MYSQL_PASSWORD" diff --git a/examples/traefik/compose.yml b/examples/traefik/compose.yml index 9076750..35f818a 100644 --- a/examples/traefik/compose.yml +++ b/examples/traefik/compose.yml @@ -45,7 +45,7 @@ services: volumes: - "./db:/var/lib/mysql" environment: - - "MYSQL_ALLOW_EMPTY_PASSWORD=yes" + - "MARIADB_RANDOM_ROOT_PASSWORD=yes" - "MYSQL_DATABASE" - "MYSQL_USER" - "MYSQL_PASSWORD" diff --git a/test/compose.yml b/test/compose.yml index 061e74e..4799882 100644 --- a/test/compose.yml +++ b/test/compose.yml @@ -13,7 +13,7 @@ services: volumes: - "db:/var/lib/mysql" environment: - - "MYSQL_ALLOW_EMPTY_PASSWORD=yes" + - "MARIADB_RANDOM_ROOT_PASSWORD=yes" - "MYSQL_DATABASE" - "MYSQL_USER" - "MYSQL_PASSWORD"