From 6f5f953aeafe06bb3486ab9f73e32d7271041e07 Mon Sep 17 00:00:00 2001 From: Frazer Smith Date: Mon, 25 Nov 2024 10:30:05 +0000 Subject: [PATCH] chore(.env.template): clarify on docker compose settings --- .env.template | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.env.template b/.env.template index 71ca6f4d..7931dd8b 100644 --- a/.env.template +++ b/.env.template @@ -6,6 +6,7 @@ NODE_ENV="development" # NOTE: Needs to be set to "0.0.0.0" if using Docker. +# Ignored if deployed with included Docker Compose file. # Defaults to resolving to "localhost" if not set HOST= # Expects number. @@ -87,22 +88,22 @@ LOG_ROTATION_DATE_FORMAT= # Filename including full path used by the stream, example: # "./logs/docsmith-%DATE%.log" # Defaults to STDOUT. -# Ignored if deployed with Docker Compose, as Docker's -# daemon handles logging and rotations +# Ignored if deployed with included Docker Compose file, +# as Docker's daemon handles logging and rotations LOG_ROTATION_FILENAME= # Frequency can be "daily", "date", "[1-12]h" or "[1-30]m". # Defaults to "daily". # Set to "date" if you want to rotate based on LOG_ROTATION_DATE_FORMAT. # Requires LOG_ROTATION_FILENAME to be set. -# Ignored if deployed with Docker Compose. +# Ignored if deployed with included Docker Compose file. # Defaults to "daily" LOG_ROTATION_FREQUENCY= # Max number of logs to keep. If not set, it will not remove past logs. # Requires LOG_ROTATION_FILENAME to be set. # If using days, add "d" as the suffix. -# Defaults to "10" if deployed with Docker Compose +# Defaults to "10" if deployed with included Docker Compose file LOG_ROTATION_MAX_LOGS= # Max size of the file after which it will rotate. @@ -110,7 +111,7 @@ LOG_ROTATION_MAX_LOGS= # The size units are "k", "m" and "g". # Units need to directly follow a number e.g. 1g, 100m, 20k. # Requires LOG_ROTATION_FILENAME to be set. -# Defaults to "100m" if deployed with Docker Compose +# Defaults to "100m" if deployed with included Docker Compose file LOG_ROTATION_MAX_SIZE= ### PROCESS LOAD HANDLING #################################