From 8d2f6f1de3a548445e97c68e62a9f2048f2923f9 Mon Sep 17 00:00:00 2001 From: Vincent Pochet Date: Fri, 12 Aug 2022 11:19:00 +0200 Subject: [PATCH] feat: Allow alternate S3 compatible storages (#91) --- docker-compose.dev.yml | 2 ++ docker-compose.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/docker-compose.dev.yml b/docker-compose.dev.yml index 3561a68..7f93dbf 100644 --- a/docker-compose.dev.yml +++ b/docker-compose.dev.yml @@ -97,6 +97,7 @@ services: - LAGO_AWS_S3_SECRET_ACCESS_KEY=${LAGO_AWS_S3_SECRET_ACCESS_KEY:-} - LAGO_AWS_S3_REGION=${LAGO_AWS_S3_REGION:-} - LAGO_AWS_S3_BUCKET=${LAGO_AWS_S3_BUCKET:-} + - LAGO_AWS_S3_ENDPOINT=${LAGO_AWS_S3_ENDPOINT} - LAGO_PDF_URL=${LAGO_PDF_URL:-http://pdf:3000} - LAGO_REDIS_CACHE_URL=redis://redis:6379 - SEGMENT_WRITE_KEY=${SEGMENT_WRITE_KEY:-} @@ -136,6 +137,7 @@ services: - LAGO_AWS_S3_SECRET_ACCESS_KEY=${LAGO_AWS_S3_SECRET_ACCESS_KEY:-} - LAGO_AWS_S3_REGION=${LAGO_AWS_S3_REGION:-} - LAGO_AWS_S3_BUCKET=${LAGO_AWS_S3_BUCKET:-} + - LAGO_AWS_S3_ENDPOINT=${LAGO_AWS_S3_ENDPOINT} - LAGO_PDF_URL=${LAGO_PDF_URL:-http://pdf:3000} - LAGO_REDIS_CACHE_URL=redis://redis:6379 - SEGMENT_WRITE_KEY=${SEGMENT_WRITE_KEY:-} diff --git a/docker-compose.yml b/docker-compose.yml index 534aa85..52605ff 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -55,6 +55,7 @@ services: - LAGO_AWS_S3_SECRET_ACCESS_KEY=${LAGO_AWS_S3_SECRET_ACCESS_KEY:-azerty123456} - LAGO_AWS_S3_REGION=${LAGO_AWS_S3_REGION:-us-east-1} - LAGO_AWS_S3_BUCKET=${LAGO_AWS_S3_BUCKET:-bucket} + - LAGO_AWS_S3_ENDPOINT=${LAGO_AWS_S3_ENDPOINT} - LAGO_PDF_URL=${LAGO_PDF_URL:-http://pdf:3000} - LAGO_REDIS_CACHE_URL=redis://${LAGO_REDIS_CACHE_HOST:-redis}:${LAGO_REDIS_CACHE_PORT:-6379} - LAGO_DISABLE_SEGMENT=${LAGO_DISABLE_SEGMENT} @@ -121,6 +122,7 @@ services: - LAGO_AWS_S3_SECRET_ACCESS_KEY=${LAGO_AWS_S3_SECRET_ACCESS_KEY:-azerty123456} - LAGO_AWS_S3_REGION=${LAGO_AWS_S3_REGION:-us-east-1} - LAGO_AWS_S3_BUCKET=${LAGO_AWS_S3_BUCKET:-bucket} + - LAGO_AWS_S3_ENDPOINT=${LAGO_AWS_S3_ENDPOINT} - LAGO_PDF_URL=${LAGO_PDF_URL:-http://pdf:3000} - LAGO_REDIS_CACHE_URL=redis://${LAGO_REDIS_CACHE_HOST:-redis}:${LAGO_REDIS_CACHE_PORT:-6379} - LAGO_DISABLE_SEGMENT=${LAGO_DISABLE_SEGMENT}