Giter Site home page Giter Site logo

fake-s3's Introduction

fake-s3

Dockerfile for mrister/fake-s3 on Docker Hub.

Deploys fake-s3 in a Docker container from master branch with option to allow CORS headers control

To create a deployment:

    docker run --name local_s3 -d mrister/fake-s3

Service exposed on port 4569. Credentials are ignored all CORS headers set to value * See fake-s3 README for details/limitations.

If you want fake-s3 to be exposed on your Docker host on port 4569, then

    docker run --name local_s3 -p 4569:4569 -d mrister/fake-s3

If you want the container to use a volume, then

    docker run --name local_s3 -v /fakes3_root -d mrister/fake-s3

The fake-s3 root directory will then be added as a volume on the Docker host. To get the volume

    docker inspect --format "{{range .Mounts}}{{.Source}}{{end}}" local_s3

If you want the container to use a CORS environment variables, then

    docker run --name local_s3 -v /fakes3_root -p 4569:4569 \
                        -e "CORS_PREFLIGHT_ALLOW_HEADERS=*" \
                        -e "CORS_ORIGIN=*" \
                        -e "CORS_METHODS=*" \
                        -e "CORS_POST_PUT_ALLOW_HEADERS=*" \
                        -e "CORS_EXPOSE_HEADERS=*" \
                        -d mrister/fake-s3

Inspiration

I needed a version that was nt throwing errors due to CORS on latest aws-sdk-js for demoing purposes so I decides to build this docker image based on https://github.com/lphoward/fake-s3

fake-s3's People

Contributors

mrister avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.