deactivated mysql random root passwords

This commit is contained in:
Kevin Veen-Birkenbach 2022-11-16 12:28:16 +01:00
parent 55ee33e117
commit 9d90cd640b
7 changed files with 6 additions and 7 deletions

View File

@ -40,7 +40,7 @@ services:
MYSQL_DATABASE: "gitea" MYSQL_DATABASE: "gitea"
MYSQL_USER: "gitea" MYSQL_USER: "gitea"
MYSQL_PASSWORD: "{{gitea_database_password}}" MYSQL_PASSWORD: "{{gitea_database_password}}"
MYSQL_RANDOM_ROOT_PASSWORD: 'yes' MYSQL_ROOT_PASSWORD: "{{gitea_database_password}}"
volumes: volumes:
- database:/var/lib/mysql - database:/var/lib/mysql
healthcheck: healthcheck:

View File

@ -32,7 +32,7 @@
MYSQL_DATABASE: "joomla" MYSQL_DATABASE: "joomla"
MYSQL_USER: "joomla" MYSQL_USER: "joomla"
MYSQL_PASSWORD: "{{joomla_database_password}}" MYSQL_PASSWORD: "{{joomla_database_password}}"
MYSQL_RANDOM_ROOT_PASSWORD: 'yes' MYSQL_ROOT_PASSWORD: "{{joomla_database_password}}"
volumes: volumes:
- joomla-database:/var/lib/mysql - joomla-database:/var/lib/mysql
restart: always restart: always

View File

@ -23,7 +23,7 @@ services:
MYSQL_DATABASE: "mailu" MYSQL_DATABASE: "mailu"
MYSQL_USER: "mailu" MYSQL_USER: "mailu"
MYSQL_PASSWORD: "{{mailu_database_password}}" MYSQL_PASSWORD: "{{mailu_database_password}}"
MYSQL_RANDOM_ROOT_PASSWORD: 'yes' MYSQL_ROOT_PASSWORD: "{{mailu_database_password}}"
volumes: volumes:
- database:/var/lib/mysql - database:/var/lib/mysql
healthcheck: healthcheck:

View File

@ -24,7 +24,7 @@
image: mariadb image: mariadb
environment: environment:
MYSQL_DATABASE: mediawiki MYSQL_DATABASE: mediawiki
MYSQL_RANDOM_ROOT_PASSWORD: 'yes' MYSQL_ROOT_PASSWORD: "{{mediawiki_mysql_user_password}}"
MYSQL_USER: mediawiki MYSQL_USER: mediawiki
MYSQL_PASSWORD: "{{mediawiki_mysql_user_password}}" MYSQL_PASSWORD: "{{mediawiki_mysql_user_password}}"
volumes: volumes:

View File

@ -44,7 +44,6 @@
MYSQL_DATABASE: "mybb" MYSQL_DATABASE: "mybb"
MYSQL_USER: "mybb" MYSQL_USER: "mybb"
MYSQL_PASSWORD: "{{mybb_database_password}}" MYSQL_PASSWORD: "{{mybb_database_password}}"
MYSQL_RANDOM_ROOT_PASSWORD: 'yes'
volumes: volumes:
- mybb-database:/var/lib/mysql - mybb-database:/var/lib/mysql
restart: always restart: always

View File

@ -24,7 +24,7 @@ services:
MYSQL_DATABASE: "nextcloud" MYSQL_DATABASE: "nextcloud"
MYSQL_USER: "nextcloud" MYSQL_USER: "nextcloud"
MYSQL_PASSWORD: "{{nextcloud_database_password}}" MYSQL_PASSWORD: "{{nextcloud_database_password}}"
MYSQL_RANDOM_ROOT_PASSWORD: 'yes' MYSQL_ROOT_PASSWORD: "{{nextcloud_database_password}}"
volumes: volumes:
- database:/var/lib/mysql - database:/var/lib/mysql
restart: always restart: always

View File

@ -29,7 +29,7 @@ services:
MYSQL_DATABASE: "yourls" MYSQL_DATABASE: "yourls"
MYSQL_USER: "yourls" MYSQL_USER: "yourls"
MYSQL_PASSWORD: "{{yourls_database_password}}" MYSQL_PASSWORD: "{{yourls_database_password}}"
MYSQL_RANDOM_ROOT_PASSWORD: 'yes' MYSQL_ROOT_PASSWORD: "{{yourls_database_password}}"
volumes: volumes:
- database:/var/lib/mysql - database:/var/lib/mysql
healthcheck: healthcheck: