Runs a fake-s3
server in an Alpine based Docker image with a self-signed certificate.
Currently avaliable versions (by tag).
latest
- fakes3 version1.2.0
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')
The heart of this image is the entrypoint.sh
which was largely copied from nathankot/fake-s3-docker
Apache License. See LICENSE for details.