Public | Automated Build

Last pushed: 2 months ago
Short Description
Runs a fake-s3 in an Alpine based Docker image with a self-signed certificate.
Full Description

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.

Docker Pull Command
Owner
technekes
Source Repository

Comments (0)