Skip to content
This repository has been archived by the owner on Jul 15, 2022. It is now read-only.

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

License

Notifications You must be signed in to change notification settings

telus-agcg-archive/docker-fake-s3-ssl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages