{"action":"created","issue":{"url":"https://api.github.com/repos/project-domino/project-domino/issues/39","repository_url":"https://api.github.com/repos/project-domino/project-domino","labels_url":"https://api.github.com/repos/project-domino/project-domino/issues/39/labels{/name}","comments_url":"https://api.github.com/repos/project-domino/project-domino/issues/39/comments","events_url":"https://api.github.com/repos/project-domino/project-domino/issues/39/events","html_url":"https://github.com/project-domino/project-domino/issues/39","id":167215454,"number":39,"title":"resilient db","user":{"login":"remexre","id":4196789,"avatar_url":"https://avatars.githubusercontent.com/u/4196789?v=3","gravatar_id":"","url":"https://api.github.com/users/remexre","html_url":"https://github.com/remexre","followers_url":"https://api.github.com/users/remexre/followers","following_url":"https://api.github.com/users/remexre/following{/other_user}","gists_url":"https://api.github.com/users/remexre/gists{/gist_id}","starred_url":"https://api.github.com/users/remexre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/remexre/subscriptions","organizations_url":"https://api.github.com/users/remexre/orgs","repos_url":"https://api.github.com/users/remexre/repos","events_url":"https://api.github.com/users/remexre/events{/privacy}","received_events_url":"https://api.github.com/users/remexre/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"akshay288","id":6238942,"avatar_url":"https://avatars.githubusercontent.com/u/6238942?v=3","gravatar_id":"","url":"https://api.github.com/users/akshay288","html_url":"https://github.com/akshay288","followers_url":"https://api.github.com/users/akshay288/followers","following_url":"https://api.github.com/users/akshay288/following{/other_user}","gists_url":"https://api.github.com/users/akshay288/gists{/gist_id}","starred_url":"https://api.github.com/users/akshay288/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akshay288/subscriptions","organizations_url":"https://api.github.com/users/akshay288/orgs","repos_url":"https://api.github.com/users/akshay288/repos","events_url":"https://api.github.com/users/akshay288/events{/privacy}","received_events_url":"https://api.github.com/users/akshay288/received_events","type":"User","site_admin":false},"assignees":[{"login":"akshay288","id":6238942,"avatar_url":"https://avatars.githubusercontent.com/u/6238942?v=3","gravatar_id":"","url":"https://api.github.com/users/akshay288","html_url":"https://github.com/akshay288","followers_url":"https://api.github.com/users/akshay288/followers","following_url":"https://api.github.com/users/akshay288/following{/other_user}","gists_url":"https://api.github.com/users/akshay288/gists{/gist_id}","starred_url":"https://api.github.com/users/akshay288/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akshay288/subscriptions","organizations_url":"https://api.github.com/users/akshay288/orgs","repos_url":"https://api.github.com/users/akshay288/repos","events_url":"https://api.github.com/users/akshay288/events{/privacy}","received_events_url":"https://api.github.com/users/akshay288/received_events","type":"User","site_admin":false}],"milestone":null,"comments":3,"created_at":"2016-07-24T03:48:35Z","updated_at":"2016-07-27T16:16:51Z","closed_at":null,"body":"Right now, the docker build fails immediately because the DB takes longer to start than the application. Ideally, we wouldn't fail on these errors, and instead would get (503) errors instead of termination. Intermittent downtime (e.g. during an upgrade) would therefore not require restarting the entire infrastructure, but only one application."},"comment":{"url":"https://api.github.com/repos/project-domino/project-domino/issues/comments/235637931","html_url":"https://github.com/project-domino/project-domino/issues/39#issuecomment-235637931","issue_url":"https://api.github.com/repos/project-domino/project-domino/issues/39","id":235637931,"user":{"login":"akshay288","id":6238942,"avatar_url":"https://avatars.githubusercontent.com/u/6238942?v=3","gravatar_id":"","url":"https://api.github.com/users/akshay288","html_url":"https://github.com/akshay288","followers_url":"https://api.github.com/users/akshay288/followers","following_url":"https://api.github.com/users/akshay288/following{/other_user}","gists_url":"https://api.github.com/users/akshay288/gists{/gist_id}","starred_url":"https://api.github.com/users/akshay288/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akshay288/subscriptions","organizations_url":"https://api.github.com/users/akshay288/orgs","repos_url":"https://api.github.com/users/akshay288/repos","events_url":"https://api.github.com/users/akshay288/events{/privacy}","received_events_url":"https://api.github.com/users/akshay288/received_events","type":"User","site_admin":false},"created_at":"2016-07-27T16:16:51Z","updated_at":"2016-07-27T16:16:51Z","body":"The way it is currently layed out (with SetupDatabase) We would definitely want a db before starting the server. I can make a a SQL script to setup the database if you would like\r\n\r\nThis is what it is now:\r\n```\r\nvar err error\r\ndb.DB, err = gorm.Open(\r\n\tviper.GetString(\"database.type\"),\r\n\tviper.GetString(\"database.url\"),\r\n)\r\nMust(err)\r\n```"}}
{"actor":{"display_login":"akshay288"}}