-
Notifications
You must be signed in to change notification settings - Fork 6
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
Add local S3 support with MinIO #54
Conversation
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.
This looks cool
I finally figured out why my xdebug stopped working. We stole port 9000 from it. I guess ultimately we should have moved to 9003 when 3 came out, but we didn't. So now I want to audit our ports to see where this can fit that doesn't collide with other stuff. |
I kept spending more time on this trying to figure out why I couldn't just use localhost with a port.
So I think I'm happy with just finding a new port for 9000 and this might be good to go. |
Moved it to 10000 and 10001. I didn't see anything using those, and after some Googling, it didn't look like anything we may potentially use in the future would use them. |
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 re-ran my tests and my xdebug works. This looks good to me.
* `AWS_ACCESS_KEY_ID=root` | ||
* `AWS_SECRET_ACCESS_KEY=password` | ||
* `AWS_DEFAULT_REGION=us-east-1` | ||
* `AWS_BUCKET=[project-bucket-name]` |
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.
Not sure if DevopsToolKit is the right place for this, or if it'd be better in project initial setup or something once this gets added to template, but it'd be nice if this could spin up the initial bucket based on the env configuration.
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've set it up like that for previous projects, so if that's a direction we want to move, it shouldn't be an issue.
MinIO allows you to run an S3 service locally. Access to AWS is not needed.
After running
docker-compose
for the data source services.Edit the
/etc/hosts
file on your system and make a reference forOpen your browser and navigate to the admin console
http://s3.docker:10001
and login to the MinIO admin console..env
file to match the following: