Skip to content

Commit

Permalink
New files in S3 storage are now mirrored in new S3 storage
Browse files Browse the repository at this point in the history
  • Loading branch information
maatinito committed Nov 21, 2024
1 parent de06342 commit 13e2466
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
11 changes: 10 additions & 1 deletion config/storage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,15 @@ s3:
region: "<%= ENV['S3_REGION'] %>"
force_path_style: true

S3_NEW:
service: S3
endpoint: "<%= ENV['S3_NEW_ENDPOINT'] %>"
bucket: "<%= ENV.fetch('S3_NEW_BUCKET','') %>"
access_key_id: "<%= ENV['S3_NEW_ACCESS_KEY'] %>"
secret_access_key: "<%= ENV['S3_NEW_SECRET_KEY'] %>"
region: "<%= ENV['S3_NEW_REGION'] %>"
force_path_style: true

local_mirror:
service: Mirror
primary: local
Expand All @@ -32,7 +41,7 @@ s3_mirror:
service: Mirror
primary: s3
mirrors:
- local
- S3_NEW

amazon:
service: S3
Expand Down
10 changes: 10 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 13e2466

Please sign in to comment.