From b21005df781b53dd92c5182b9ffea18698208f20 Mon Sep 17 00:00:00 2001 From: Markus Opolka Date: Thu, 21 Nov 2019 14:09:34 +0100 Subject: [PATCH] Refactor docker-entrypoint.sh to use ENV Variables - This provides a setup which is more consistens with other Docker images - Provides the possibility to deploy configuration files with configuration management tool - Throws an error when the MAILTRAIN_SETTINGS is still used --- docker-entrypoint.sh | 301 ++++++++++++++----------------------------- 1 file changed, 99 insertions(+), 202 deletions(-) diff --git a/docker-entrypoint.sh b/docker-entrypoint.sh index 17d361de..c5317e20 100644 --- a/docker-entrypoint.sh +++ b/docker-entrypoint.sh @@ -1,223 +1,120 @@ #!/bin/bash +# Entrypoint for Docker Container + set -e -function printHelp { - cat < server/config/production.yaml < server/config/production.yaml < server/services/workers/reports/config/production.yaml <> server/config/production.yaml <> server/config/production.yaml < server/services/workers/reports/config/production.yaml <