Sign inSign up

technekes/fake-s3-ssl

By technekes

•Updated over 9 years ago

Runs a fake-s3 in an Alpine based Docker image with a self-signed certificate.

Image
0

4.5K

technekes/fake-s3-ssl repository overview

⁠Fake S3 SSL

Runs a fake-s3⁠ server in an Alpine based Docker image with a self-signed certificate.

⁠Versions

Currently avaliable versions (by tag).

  • latest - fakes3 version 1.2.0

⁠Usage

Run a fake-s3 server independently.

docker run \
  --rm \
  -p 443:443 \
  technekes/fake-s3-ssl

For usage within a docker-compose configuration create a link to your s3 service with an alias to the bucket you are targeting (my-bucket in the example below).

version: "2"
services:
  web:
    build: .
    links:
      - s3:my-bucket.s3.amazonaws.com

  s3:
    image: technekes/fake-s3-ssl

Note - At this time the fakes3 gem does not support self signed certificates⁠. In order to use this image you will need to disable "SSL Verify" within your AWS SDK library of choice. For example with the Ruby SDK V2.

Aws::S3::Client.new(ssl_verify_peer: ENV['CI'] != 'true')

⁠Credit

The heart of this image is the entrypoint.sh which was largely copied from nathankot/fake-s3-docker⁠

⁠License

Apache License. See LICENSE⁠ for details.

Tag summary

Content type

Image

Digest

Size

8.8 MB

Last updated

over 9 years ago

docker pull technekes/fake-s3-ssl