diff --git a/config/storage.yml b/config/storage.yml index b04e0de3a68..61231f2ead3 100644 --- a/config/storage.yml +++ b/config/storage.yml @@ -22,6 +22,14 @@ s3: region: "<%= ENV['S3_REGION'] %>" force_path_style: true +new_s3: + service: S3 + endpoint: "<%= ENV['NEW_S3_ENDPOINT'] %>" + bucket: "<%= ENV.fetch('NEW_S3_BUCKET','') %>" + access_key_id: "<%= ENV['NEW_S3_ACCESS_KEY'] %>" + secret_access_key: "<%= ENV['NEW_S3_SECRET_KEY'] %>" + force_path_style: true + local_mirror: service: Mirror primary: local @@ -32,7 +40,7 @@ s3_mirror: service: Mirror primary: s3 mirrors: - - local + - new_s3 amazon: service: S3 diff --git a/docker-compose.yml b/docker-compose.yml index 2a199ec2cfd..52652ba7f67 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -135,6 +135,11 @@ services: - S3_ENDPOINT - S3_REGION - S3_SECRET_KEY + - S3_NEW_ACCESS_KEY + - S3_NEW_BUCKET + - S3_NEW_ENDPOINT + - S3_NEW_REGION + - S3_NEW_SECRET_KEY - SAML_IDP_CERTIFICATE - SAML_IDP_ENABLED - SAML_IDP_SECRET_KEY @@ -226,6 +231,11 @@ services: - S3_ENDPOINT - S3_REGION - S3_SECRET_KEY + - S3_NEW_ACCESS_KEY + - S3_NEW_BUCKET + - S3_NEW_ENDPOINT + - S3_NEW_REGION + - S3_NEW_SECRET_KEY - SENDINBLUE_API_V3_KEY - SENDINBLUE_BALANCING - SENDINBLUE_BALANCING_VALUE=100