-
Notifications
You must be signed in to change notification settings - Fork 543
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
base: develop
Are you sure you want to change the base?
Changes from all commits
9e33dcb
87ed705
2d2af5f
fdc1a0a
0f5f2d3
6a3cfd4
f991ca9
1e39eee
8eccaf4
801e2b9
483e7f2
73dbf13
3d4d86c
c132840
06bd792
4102e85
c5a3d41
c9dc95f
647dd51
84b0d18
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