-
Notifications
You must be signed in to change notification settings - Fork 557
Replace MinIO with LocalStack as an S3 storage option #12394
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
Changes from all commits
ebb7c6c
2d53004
9947458
a11008d
156096d
a1a187b
9352b94
c404586
8692fcc
2363796
68975fb
00c20dd
e0679a3
8592a27
590c2c5
80d40eb
8b4958d
a4fdf00
baab128
b705ef1
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,4 @@ | ||
| #!/usr/bin/env bash | ||
| # https://stackoverflow.com/questions/53619901/auto-create-s3-buckets-on-localstack | ||
| awslocal s3 mb s3://mybucket | ||
| awslocal s3 mb s3://mybucket-noredirect |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -44,16 +44,16 @@ services: | |
| -Ddataverse.files.localstack1.download-redirect=true | ||
| -Ddataverse.files.localstack1.access-key=default | ||
| -Ddataverse.files.localstack1.secret-key=default | ||
| -Ddataverse.files.minio1.type=s3 | ||
| -Ddataverse.files.minio1.label=MinIO | ||
| -Ddataverse.files.minio1.custom-endpoint-url=http://minio:9000 | ||
| -Ddataverse.files.minio1.custom-endpoint-region=us-east-1 | ||
| -Ddataverse.files.minio1.bucket-name=mybucket | ||
| -Ddataverse.files.minio1.path-style-access=true | ||
| -Ddataverse.files.minio1.upload-redirect=false | ||
| -Ddataverse.files.minio1.download-redirect=false | ||
| -Ddataverse.files.minio1.access-key=4cc355_k3y | ||
| -Ddataverse.files.minio1.secret-key=s3cr3t_4cc355_k3y | ||
| -Ddataverse.files.localstack_noredirect.type=s3 | ||
| -Ddataverse.files.localstack_noredirect.label=LocalStackNoRedirect | ||
| -Ddataverse.files.localstack_noredirect.custom-endpoint-url=http://localstack:4566 | ||
| -Ddataverse.files.localstack_noredirect.custom-endpoint-region=us-east-2 | ||
| -Ddataverse.files.localstack_noredirect.bucket-name=mybucket-noredirect | ||
| -Ddataverse.files.localstack_noredirect.path-style-access=true | ||
| -Ddataverse.files.localstack_noredirect.upload-redirect=false | ||
| -Ddataverse.files.localstack_noredirect.download-redirect=false | ||
| -Ddataverse.files.localstack_noredirect.access-key=default | ||
| -Ddataverse.files.localstack_noredirect.secret-key=default | ||
| -Ddataverse.pid.providers=fake | ||
| -Ddataverse.pid.default-provider=fake | ||
| -Ddataverse.pid.fake.type=FAKE | ||
|
|
@@ -252,23 +252,6 @@ services: | |
| tmpfs: | ||
| - /localstack:mode=770,size=128M,uid=1000,gid=1000 | ||
|
|
||
| dev_minio: | ||
| container_name: "dev_minio" | ||
| hostname: "minio" | ||
| image: minio/minio | ||
| restart: on-failure | ||
| ports: | ||
| - "9000:9000" | ||
| - "9001:9001" | ||
| networks: | ||
| - dataverse | ||
| volumes: | ||
| - ./docker-dev-volumes/minio_storage:/data | ||
| environment: | ||
| MINIO_ROOT_USER: 4cc355_k3y | ||
| MINIO_ROOT_PASSWORD: s3cr3t_4cc355_k3y | ||
| command: server /data | ||
|
|
||
| previewers-provider: | ||
| container_name: previewers-provider | ||
| hostname: previewers-provider | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm just putting this here at the bottom so we can resolve it later but @srmanda-cs can you please investigate the failure at https://github.com/IQSS/dataverse/actions/runs/26771052464/job/78910313410?pr=12394 ?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yeah, probably some kind of rebasing failure, I'll look into it.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Should be fixed now. |
||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd be ok with leaving this in. I'm also ok with removing it.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lemme know if anyone wants this back in, and I'll add it back in! For now, imma leave it as is
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@poikilotherm thoughts?
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm fine with just dropping it.
If you think it would be good to show a backward compatible way how to continue if you started out on Minio, we could point to https://github.com/pgsty/minio as an option to transition away from Minio but keep the lights on for now.