More docker mappings to config
@@ -35,6 +35,18 @@ if [[ ! -z "$SECOR_GROUP" ]]; then
fi
+if [[ ! -z "$AWS_REGION" ]]; then
+ SECOR_CONFIG="$SECOR_CONFIG -Daws.region=$AWS_REGION"
+ echo "aws.region=$AWS_REGION"
+fi
+if [[ ! -z "$AWS_ENDPOINT" ]]; then
+ SECOR_CONFIG="$SECOR_CONFIG -Daws.endpoint=$AWS_ENDPOINT"
+ echo "aws.endpoint=$AWS_ENDPOINT"
+fi
+if [[ ! -z "$AWS_PATH_STYLE_ACCESS" ]]; then
+ SECOR_CONFIG="$SECOR_CONFIG -Daws.client.pathstyleaccess=$AWS_PATH_STYLE_ACCESS"
+ echo "aws.client.pathstyleaccess=$AWS_PATH_STYLE_ACCESS"
+fi
if [[ ! -z "$AWS_ACCESS_KEY" ]]; then
SECOR_CONFIG="$SECOR_CONFIG -Daws.access.key=$AWS_ACCESS_KEY"
fi
@@ -51,6 +63,7 @@ if [[ ! -z "$S3_PATH" ]]; then
fi
+
if [[ ! -z "$SECOR_MAX_FILE_BYTES" ]]; then
SECOR_CONFIG="$SECOR_CONFIG -Dsecor.max.file.size.bytes=$SECOR_MAX_FILE_BYTES"
echo "secor.max.file.size.bytes=$SECOR_MAX_FILE_BYTES"
