From 78144ee1e4eac349f9ef527a58ecbc3b9d80186f Mon Sep 17 00:00:00 2001 From: jorgegv Date: Thu, 20 Mar 2025 12:59:09 +0100 Subject: [PATCH] fix mariadb root password interpolation in health check configuration (#73) * fix mariadb root password interpolation in health check configuration * fix env.example typo --------- Co-authored-by: Robert Schumann --- examples/docker-compose.mysql.yml | 4 ++-- examples/env.example | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/docker-compose.mysql.yml b/examples/docker-compose.mysql.yml index e9f3aae..f28b6f2 100644 --- a/examples/docker-compose.mysql.yml +++ b/examples/docker-compose.mysql.yml @@ -40,7 +40,7 @@ services: volumes: - ./run/db:/var/lib/mysql healthcheck: - test: ["CMD", "mysqladmin", "ping", "-h", "localhost", "-uroot", "-pdbrootpassword"] + test: ["CMD", "mysqladmin", "ping", "-h", "localhost", "-uroot", "-p${ROOT_DB_PASSWORD}"] interval: 10s timeout: 10s - retries: 5 \ No newline at end of file + retries: 5 diff --git a/examples/env.example b/examples/env.example index 0e51447..e014b8f 100644 --- a/examples/env.example +++ b/examples/env.example @@ -32,7 +32,7 @@ IMAP_SERVER= IMAP_PORT= # optional: default is "Inbox" -IMAP_READ_FOLDER +IMAP_READ_FOLDER= # optional: default is "processed" IMAP_MOVE_FOLDER= @@ -50,4 +50,4 @@ PARSER_IMAP_IGNORE_ERROR=0 # Increase the maximum size of the XML file. (default is 50000 bytes) # When the size exceeds the maximum, one could experience an error Uncaught ValueError: DOMDocument::loadXML(): # Argument #1 ($source) must not be empty. -PARSER_XML_MAXSIZE=50000 \ No newline at end of file +PARSER_XML_MAXSIZE=50000