{"action":"created","issue":{"url":"https://api.github.com/repos/ehazlett/interlock/issues/53","labels_url":"https://api.github.com/repos/ehazlett/interlock/issues/53/labels{/name}","comments_url":"https://api.github.com/repos/ehazlett/interlock/issues/53/comments","events_url":"https://api.github.com/repos/ehazlett/interlock/issues/53/events","html_url":"https://github.com/ehazlett/interlock/issues/53","id":98348966,"number":53,"title":"Interlock + shipyard example is not working","user":{"login":"lorentzg","id":5297519,"avatar_url":"https://avatars.githubusercontent.com/u/5297519?v=3","gravatar_id":"","url":"https://api.github.com/users/lorentzg","html_url":"https://github.com/lorentzg","followers_url":"https://api.github.com/users/lorentzg/followers","following_url":"https://api.github.com/users/lorentzg/following{/other_user}","gists_url":"https://api.github.com/users/lorentzg/gists{/gist_id}","starred_url":"https://api.github.com/users/lorentzg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lorentzg/subscriptions","organizations_url":"https://api.github.com/users/lorentzg/orgs","repos_url":"https://api.github.com/users/lorentzg/repos","events_url":"https://api.github.com/users/lorentzg/events{/privacy}","received_events_url":"https://api.github.com/users/lorentzg/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":20,"created_at":"2015-07-31T09:09:54Z","updated_at":"2016-01-01T20:51:00Z","closed_at":null,"body":"Environment: Mac OS with single boot2docker vm running (docker 1.7.1).\r\nScenario:\r\n1. Use shipyard-deploy to start shipyard: http://shipyard-project.com/docs/quickstart/\r\n2. Create local engine for boot2docker vm in UI as described: http://shipyard-project.com/docs/quickstart/\r\n3. Login to shipyard-cli and run interlock as described in https://asciinema.org/a/13318\r\n4. Run \"go-demo\" as described https://asciinema.org/a/13318\r\n\r\nResult: When accessing http://interlock.host:80/ I get response \"503 Service Unavailable. No server is available to handle this request.\".\r\n\r\nAlso tried:\r\n1. To detroy/run, restart interlock and go-demo. \r\n2. Noticed that shipyard in http://shipyard-project.com/docs/quickstart/ exposes port 8080, which I considered as conflicting with go-demo (it exposes 8080 too and runs on the same boot2docker host), so reinstalled shipyard manually to use another port. However same result, 503 err.\r\n\r\n/haproxy?stats does shows some table without any backends.\r\n\r\nWhen checking haproxy config I get:\r\nbash$ docker exec -it sleepy_ritchie cat /proxy.conf\r\n\\# managed by interlock\r\nglobal\r\n    maxconn 0\r\n    pidfile proxy.pid\r\n\r\ndefaults\r\n    mode http\r\n    retries 3\r\n    option redispatch\r\n    option httplog\r\n    option dontlognull\r\n    option http-server-close\r\n    option forwardfor\r\n    timeout connect 0\r\n    timeout client 0\r\n    timeout server 0\r\n\r\nfrontend http-default\r\n    bind *:8080\r\n    monitor-uri /haproxy?monitor\r\n    stats enable\r\n    stats uri /haproxy?stats\r\n    stats refresh 5s \r\n"},"comment":{"url":"https://api.github.com/repos/ehazlett/interlock/issues/comments/168336708","html_url":"https://github.com/ehazlett/interlock/issues/53#issuecomment-168336708","issue_url":"https://api.github.com/repos/ehazlett/interlock/issues/53","id":168336708,"user":{"login":"ehazlett","id":260642,"avatar_url":"https://avatars.githubusercontent.com/u/260642?v=3","gravatar_id":"","url":"https://api.github.com/users/ehazlett","html_url":"https://github.com/ehazlett","followers_url":"https://api.github.com/users/ehazlett/followers","following_url":"https://api.github.com/users/ehazlett/following{/other_user}","gists_url":"https://api.github.com/users/ehazlett/gists{/gist_id}","starred_url":"https://api.github.com/users/ehazlett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ehazlett/subscriptions","organizations_url":"https://api.github.com/users/ehazlett/orgs","repos_url":"https://api.github.com/users/ehazlett/repos","events_url":"https://api.github.com/users/ehazlett/events{/privacy}","received_events_url":"https://api.github.com/users/ehazlett/received_events","type":"User","site_admin":false},"created_at":"2016-01-01T20:51:00Z","updated_at":"2016-01-01T20:51:00Z","body":"Correct.  This is because by default there is no TLS setup and that would\nexpose your Docker engine to the public.  You can certainly expose it using\nthe manual deploy but I would strongly recommend setting up TLS.\n\nOn Fri, Jan 1, 2016 at 2:04 PM, Tom Rudick <notifications@github.com> wrote:\n\n> Thanks! That appears to be the problem. I had to link to the swarm-manager\n> for it to work correctly using: docker run -p 80:80 -d\n> --link=shipyard-swarm-manager:swarm ehazlett/interlock --swarm-url\n> tcp://swarm:3375 --plugin haproxy start\n>\n> The swarm-manager container does not expose 3375 using the automatic\n> install. Is that expected?\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/ehazlett/interlock/issues/53#issuecomment-168332419>.\n>\n"}}