Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Allow alternate S3 compatible storages #91

Merged
merged 1 commit into from
Aug 12, 2022

Conversation

vincent-pochet
Copy link
Contributor

Context

The aws-s3-sdk gem that we are using to manage document storage (for invoice) allows the usage of S3 compatible services.

This feature has been requested multiple #90 and we already tried to address it (getlago/lago-api#355) but it ended on some trouble on our cloud environment and the change was reverted.

Description

This PR is a new attempt to address the feature by adding an alternate s3 configuration when LAGO_AWS_S3_ENDPOINT the environment variable is present in the configuration.

Related tasks

PR on lago-api: getlago/lago-api#380

How Has This Been Tested?

A full QA will be performed on a staging environment

@vincent-pochet vincent-pochet added the issue: enhancement Issue suggesting an enhancement to an existing feature label Aug 12, 2022
@vincent-pochet vincent-pochet self-assigned this Aug 12, 2022
@vincent-pochet vincent-pochet merged commit 8d2f6f1 into main Aug 12, 2022
@vincent-pochet vincent-pochet deleted the feat/s3-alternate-storage branch August 12, 2022 09:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
issue: enhancement Issue suggesting an enhancement to an existing feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants