Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add registry to amp with HAProxy reverse proxy #155

Merged
merged 7 commits into from
Sep 14, 2016
Merged

add registry to amp with HAProxy reverse proxy #155

merged 7 commits into from
Sep 14, 2016

Conversation

freignat91
Copy link
Contributor

@freignat91 freignat91 commented Sep 13, 2016

Add registry as a service

Test:

  • pull swarm all images (should have registry:2 in the list): ./swarm pull
  • start amp swarm: sudo ./swarm start
  • create or pull an image for instance: docker pull alpine
  • tag it: docker tag alpine localhost:5000/alpine
  • push it: docker push localhost:5000/alpine
    image is pushed in the amp registry going through HAProxy
  • verify you can pull it: docker pull localhost:5000/alpine ,having this console message: Image is up to date for localhost:5000/alpline:latest
  • make install (rm -rf vendor and glide install, if needed)
  • amp push localhost:5000/alpine -> push the image using amp command

@bquenin
Copy link
Contributor

bquenin commented Sep 13, 2016

Tested and working

@generalhenry
Copy link
Contributor

Failing on docker for mac in service mode, working in run mode.

@generalhenry
Copy link
Contributor

generalhenry commented Sep 13, 2016

Failing on docker for mac in service mode, using localhost:500/imagename, working on 127.0.0.1:5000/imagename

@subfuzion
Copy link
Contributor

As noted, issues with OS X require using 127.0.0.1 instead of localhost for this to work. Also seeing errors that appear to be related to build service (will discuss with @generalhenry). But otherwise is working, looks good.

@subfuzion subfuzion merged commit bc774a2 into master Sep 14, 2016
@subfuzion subfuzion deleted the registry branch September 14, 2016 01:43
bquenin pushed a commit that referenced this pull request Sep 14, 2016
* add registry

* update haproxy

* update image list

* update registry volume

* add amp command: push

* add persistence to registry

* minor format update
@subfuzion subfuzion added this to the 0.1.0 milestone Oct 20, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants