From 04262b54e975ce65faae20244ffd6c64245b169e Mon Sep 17 00:00:00 2001 From: "Arnaud G. GIBERT" Date: Tue, 29 Oct 2024 08:45:23 +0100 Subject: [PATCH] - Fix database restart in compose file. --- ReleaseNotes.txt | 3 ++- compose.yaml | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ReleaseNotes.txt b/ReleaseNotes.txt index 008d9bd..a4bedef 100644 --- a/ReleaseNotes.txt +++ b/ReleaseNotes.txt @@ -2,7 +2,8 @@ Rx3/Ampache-Mga9 V 1.2.3 - A. GIBERT - 2024/10/xx ------------------------------------------------------------------------------------------------------------------------------------ -- Fix crontab: user ampache user instead of root and add it to git. +- Fix crontab: user ampache user instead of root and add it to git, +- Fix database restart in compose file. diff --git a/compose.yaml b/compose.yaml index e205409..07395fe 100644 --- a/compose.yaml +++ b/compose.yaml @@ -9,6 +9,8 @@ services: image: ${DATABASE_IMG} + restart: unless-stopped + environment: MARIADB_UID: ${MARIADB_UID} MARIADB_GID: ${MARIADB_GID}