Docker container to initialize and run nginx with conf.d folder downloaded from AMAZON S3
559
Docker container to initialize and run nginx with conf.d folder downloaded from AMAZON S3
docker run --rm -it -e "S3CONFIGFILE={S3BUCKET}/{zipfilekey.zip}" -e AWS_ACCESS_KEY_ID={S3AccessKeyID} -e AWS_SECRET_ACCESS_KEY={S3keySecret} labizbille/nginxs3:latest
S3CONFIGFILE : S3Bucket followed by the zipped conf.d folder s3 key. this needs to a zip file
This container is used to run an nginx container that does not depends on file system and thus is suitable for use in orchestration environments like rancher, swarm, etc. On startup it downloads the conf.d zip file given in the environment variable from Amazon S3
##Tutorial Follow along tutorial available at https://medium.com/@deepayan_63213/docker-able-nginx-container-that-does-not-depends-on-file-system-22badac7be74
Content type
Image
Digest
Size
77.8 MB
Last updated
almost 8 years ago
docker pull labizbille/nginxs3