From d21a6cf2df50e3f75adbba70c9b9041955f585d0 Mon Sep 17 00:00:00 2001 From: WilliamMiceli Date: Sat, 1 Jun 2019 14:36:16 -0400 Subject: [PATCH] Added MySQL root password variable and question --- templates/Joomla/0/docker-compose.yml | 2 +- templates/Joomla/0/rancher-compose.yml | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/templates/Joomla/0/docker-compose.yml b/templates/Joomla/0/docker-compose.yml index 80bb0a0..195f22d 100644 --- a/templates/Joomla/0/docker-compose.yml +++ b/templates/Joomla/0/docker-compose.yml @@ -46,7 +46,7 @@ services: - 2606:4700:4700::1001 environment: MYSQL_DATABASE: joomla_db - MYSQL_ROOT_PASSWORD: + MYSQL_ROOT_PASSWORD: ${DB_ROOT_PASS} MYSQL_USER: joomla_user MYSQL_PASSWORD: ${DB_USER_PASS} labels: diff --git a/templates/Joomla/0/rancher-compose.yml b/templates/Joomla/0/rancher-compose.yml index 1247cda..a8a3788 100644 --- a/templates/Joomla/0/rancher-compose.yml +++ b/templates/Joomla/0/rancher-compose.yml @@ -24,6 +24,14 @@ catalog: required: true type: string + - variable: "DB_ROOT_PASS" + label: "Database Root Password" + description: | + A secure password to be used by the "root" database user. + # default: + required: true + type: password + - variable: "DB_USER_PASS" label: "Database User Password" description: |