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

rotor: Allow use of third-party S3-compatible storages for MaxMind #1174

Merged

Conversation

dmeremyanin
Copy link
Contributor

@dmeremyanin dmeremyanin commented Jan 24, 2025

This update adds support for specifying custom endpoint and forcePathStyle settings when creating the MaxMind S3 client. This enables the use of any third-party S3-compatible object storage service, such as DigitalOcean, MinIO, and others.

New environment variables:

  • MAXMIND_S3_ENDPOINT (optional): Specifies the custom S3 endpoint.
  • MAXMIND_S3_FORCE_PATH_STYLE (optional): Configures the URL style. By default, virtual-hosted-style URLs are used.

Additionally, the MAXMIND_ prefix has been added to MaxMind-related S3 environment variables for consistency with other environment variables (MAXMIND_S3_BUCKET). The previous un-prefixed environment variables are still supported and will be used as fallbacks.

@dmeremyanin dmeremyanin force-pushed the rotor-maxmind-s3-compatible-storage branch 3 times, most recently from 01910e9 to 4f9e90a Compare January 24, 2025 21:12
@dmeremyanin dmeremyanin force-pushed the rotor-maxmind-s3-compatible-storage branch from 4f9e90a to e237621 Compare January 24, 2025 21:19
@absorbb absorbb merged commit 9dcd703 into jitsucom:newjitsu Jan 27, 2025
1 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants