From 3353a63c94c90317ec6f8e3e3be78bf00ce97523 Mon Sep 17 00:00:00 2001 From: WilliamMiceli Date: Fri, 7 Dec 2018 20:27:58 -0500 Subject: [PATCH] Changed database and user name --- templates/Snipe-IT/0/docker-compose.yml | 8 ++++---- templates/Snipe-IT/0/rancher-compose.yml | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/templates/Snipe-IT/0/docker-compose.yml b/templates/Snipe-IT/0/docker-compose.yml index c52b5d3..b7afc9c 100644 --- a/templates/Snipe-IT/0/docker-compose.yml +++ b/templates/Snipe-IT/0/docker-compose.yml @@ -18,8 +18,8 @@ services: {{- end}} APP_KEY: ${APP_KEY} MYSQL_HOST: mysql - MYSQL_DATABASE: snipeit - MYSQL_USER: snipe_user + MYSQL_DATABASE: snipeit_db + MYSQL_USER: snipeit_user MYSQL_PASSWORD: ${DB_USER_PASS} labels: io.rancher.container.pull_image: always @@ -62,9 +62,9 @@ services: - 1.1.1.1 - 1.0.0.1 environment: - MYSQL_DATABASE: snipeit + MYSQL_DATABASE: snipeit_db MYSQL_ROOT_PASSWORD: ${DB_ROOT_PASS} - MYSQL_USER: snipe_user + MYSQL_USER: snipeit_user MYSQL_PASSWORD: ${DB_USER_PASS} labels: io.rancher.container.pull_image: always diff --git a/templates/Snipe-IT/0/rancher-compose.yml b/templates/Snipe-IT/0/rancher-compose.yml index 05a87e5..984c242 100644 --- a/templates/Snipe-IT/0/rancher-compose.yml +++ b/templates/Snipe-IT/0/rancher-compose.yml @@ -53,7 +53,7 @@ catalog: - variable: "DB_USER_PASS" label: "MySQL User Password" description: | - A secure password to be used by the "snipe_user" MySQL user. + A secure password to be used by the "snipeit_user" MySQL user. # default: required: true type: password