{"action":"created","issue":{"url":"https://api.github.com/repos/docker/compose/issues/374","repository_url":"https://api.github.com/repos/docker/compose","labels_url":"https://api.github.com/repos/docker/compose/issues/374/labels{/name}","comments_url":"https://api.github.com/repos/docker/compose/issues/374/comments","events_url":"https://api.github.com/repos/docker/compose/issues/374/events","html_url":"https://github.com/docker/compose/issues/374","id":39471730,"number":374,"title":"Is there a way to delay container startup to support dependant services with a longer startup time","user":{"login":"dancrumb","id":221519,"avatar_url":"https://avatars.githubusercontent.com/u/221519?v=3","gravatar_id":"","url":"https://api.github.com/users/dancrumb","html_url":"https://github.com/dancrumb","followers_url":"https://api.github.com/users/dancrumb/followers","following_url":"https://api.github.com/users/dancrumb/following{/other_user}","gists_url":"https://api.github.com/users/dancrumb/gists{/gist_id}","starred_url":"https://api.github.com/users/dancrumb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dancrumb/subscriptions","organizations_url":"https://api.github.com/users/dancrumb/orgs","repos_url":"https://api.github.com/users/dancrumb/repos","events_url":"https://api.github.com/users/dancrumb/events{/privacy}","received_events_url":"https://api.github.com/users/dancrumb/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":294,"created_at":"2014-08-04T23:33:24Z","updated_at":"2016-11-30T20:16:20Z","closed_at":null,"body":"I have a MySQL container that takes a little time to start up as it needs to import data.\n\nI have an Alfresco container that depends upon the MySQL container.\n\nAt the moment, when I use fig, the Alfresco service inside the Alfresco container fails when it attempts to connect to the MySQL container... ostensibly because the MySQL service is not yet listening.\n\nIs there a way to handle this kind of issue in Fig?\n"},"comment":{"url":"https://api.github.com/repos/docker/compose/issues/comments/263982865","html_url":"https://github.com/docker/compose/issues/374#issuecomment-263982865","issue_url":"https://api.github.com/repos/docker/compose/issues/374","id":263982865,"user":{"login":"djui","id":99752,"avatar_url":"https://avatars.githubusercontent.com/u/99752?v=3","gravatar_id":"","url":"https://api.github.com/users/djui","html_url":"https://github.com/djui","followers_url":"https://api.github.com/users/djui/followers","following_url":"https://api.github.com/users/djui/following{/other_user}","gists_url":"https://api.github.com/users/djui/gists{/gist_id}","starred_url":"https://api.github.com/users/djui/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/djui/subscriptions","organizations_url":"https://api.github.com/users/djui/orgs","repos_url":"https://api.github.com/users/djui/repos","events_url":"https://api.github.com/users/djui/events{/privacy}","received_events_url":"https://api.github.com/users/djui/received_events","type":"User","site_admin":false},"created_at":"2016-11-30T20:16:20Z","updated_at":"2016-11-30T20:16:20Z","body":"@mixja @korya I would like to improve my tool [await](https://github.com/betalo-sweden/await) and would like to ask you for feedback what you Makefile versions provide that is missing/more convenient/enabling over `await`.\r\n\r\nIt seems the healthcheck+make version seems to be a \"global\" view, no single container knows the global state (but the makefile does) and `await` is a \"local\" view, each enabled container knows (only) what it needs to know, similar to `depends_on` or `links`. Furthermore you prefer to ship the container with the tools required for the healthcheck (which sometimes is the default, eg. `mysqlshow`) and otherwise leave the Dockerfile untouched. Additionally you seem to use docker-compose not mainly for the composition anymore but mainly for the flexible configuration (e.g. `docker-compose up -d mysql` should be equivalent to `docker run -d -e ... -v ... - -p ... mysql`)."}}
{"actor":{"display_login":"djui"}}