From fdadd37da28af76737ef7ad037b90f8ec56eb6cb Mon Sep 17 00:00:00 2001 From: "P." Date: Tue, 8 Oct 2024 06:53:23 -0600 Subject: [PATCH] stack: fixDB container definition Issue found by @brunonaibert --- stack.yml | 6 +++--- update_stack_and_workflows.sh | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/stack.yml b/stack.yml index 1b25c9a..7746266 100644 --- a/stack.yml +++ b/stack.yml @@ -6,17 +6,17 @@ services: simplerisk: environment: - DB_SETUP=automatic - - DB_SETUP_PASS=8Ex4zOj5Y44g-axlXoF_s + - DB_SETUP_PASS=oifuvCrfFfZCvec4Co4vE - SIMPLERISK_DB_HOSTNAME=mysql image: simplerisk/simplerisk-minimal:20240930-001 ports: - "80:80" - "443:443" - mariadb: + mysql: command: mysqld --sql_mode="NO_ENGINE_SUBSTITUTION" environment: - - MYSQL_ROOT_PASSWORD=8Ex4zOj5Y44g-axlXoF_s + - MYSQL_ROOT_PASSWORD=oifuvCrfFfZCvec4Co4vE image: mysql:8.0 smtp: diff --git a/update_stack_and_workflows.sh b/update_stack_and_workflows.sh index aee6fe6..076b2ce 100755 --- a/update_stack_and_workflows.sh +++ b/update_stack_and_workflows.sh @@ -25,7 +25,7 @@ services: - "80:80" - "443:443" - mariadb: + mysql: command: mysqld --sql_mode="NO_ENGINE_SUBSTITUTION" environment: - MYSQL_ROOT_PASSWORD=$pass