Skip to content

Instantly share code, notes, and snippets.

@hharnisc
Created October 14, 2017 16:26
Show Gist options
  • Save hharnisc/288ed3bba476723f46dffaf6c55b4b4f to your computer and use it in GitHub Desktop.
Save hharnisc/288ed3bba476723f46dffaf6c55b4b4f to your computer and use it in GitHub Desktop.
Running a local S3 bucket on http://s3.local
# use "docker-compose up" to start the local s3 bucket (ctrl c to stop all services)
version: "2"
services:
s3:
image: deppy/fake-s3
ports:
- "80:4569"
expose:
- "80"
# append this line to /etc/hosts file (might need to sudo)
127.0.0.1 s3.local
@hharnisc
Copy link
Author

@ThisIsMissEm
Copy link

Well, what I was trying to use is the --add-host option, but that didn't work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment