From e08a4d44901081ea0e8b33d0f865d4fc4a0a1806 Mon Sep 17 00:00:00 2001 From: Jamie Curnow Date: Tue, 28 Nov 2023 08:27:11 +1000 Subject: [PATCH] Update mariadb example to auto upgrade from latest image --- docs/advanced-config/README.md | 1 + docs/setup/README.md | 1 + 2 files changed, 2 insertions(+) diff --git a/docs/advanced-config/README.md b/docs/advanced-config/README.md index 09c5a882..f0cbf99a 100644 --- a/docs/advanced-config/README.md +++ b/docs/advanced-config/README.md @@ -138,6 +138,7 @@ services: MYSQL_USER: "npm" # MYSQL_PASSWORD: "npm" # use secret instead MYSQL_PASSWORD__FILE: /run/secrets/MYSQL_PWD + MARIADB_AUTO_UPGRADE: '1' volumes: - ./mysql:/var/lib/mysql secrets: diff --git a/docs/setup/README.md b/docs/setup/README.md index 032b714c..0e881abf 100644 --- a/docs/setup/README.md +++ b/docs/setup/README.md @@ -86,6 +86,7 @@ services: MYSQL_DATABASE: 'npm' MYSQL_USER: 'npm' MYSQL_PASSWORD: 'npm' + MARIADB_AUTO_UPGRADE: '1' volumes: - ./mysql:/var/lib/mysql ```