tobias-jimdo / docker-registry-on-elastic-beanstalk

Docker registry on AWS Elastic Beanstalk

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Quick Setup

  • clone the repository
  • zip it zip -r docker-registry.zip . .ebextensions
  • set up an S3 bucket and a user to access it (you will need the users keys)
  • create a new app and environment in elastic beanstalk to run a Docker WebServer
  • when the wizard asks you set the following environment variables:
  • S3_BUCKET name of the bucket
  • S3_ACCESS_KEY access key of the created user
  • S3_SECRET_KEY secret key of the created user
  • SECRET_KEY a random secret key, the registry uses this for secret things (https://github.com/dotcloud/docker-registry#general-options)
  • when the wizard asks you for the app, upload the zip file
  • complete the wizard
  • wait for the environment and app to spin up
  • profit

the registry will be running on port 80 (not 5000)

About

Docker registry on AWS Elastic Beanstalk