{"action":"opened","issue":{"url":"https://api.github.com/repos/adfinis-sygroup/freedomvote/issues/14","repository_url":"https://api.github.com/repos/adfinis-sygroup/freedomvote","labels_url":"https://api.github.com/repos/adfinis-sygroup/freedomvote/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/adfinis-sygroup/freedomvote/issues/14/comments","events_url":"https://api.github.com/repos/adfinis-sygroup/freedomvote/issues/14/events","html_url":"https://github.com/adfinis-sygroup/freedomvote/issues/14","id":188435291,"number":14,"title":"Docker database won't start","user":{"login":"nicorikken","id":7458098,"avatar_url":"https://avatars.githubusercontent.com/u/7458098?v=3","gravatar_id":"","url":"https://api.github.com/users/nicorikken","html_url":"https://github.com/nicorikken","followers_url":"https://api.github.com/users/nicorikken/followers","following_url":"https://api.github.com/users/nicorikken/following{/other_user}","gists_url":"https://api.github.com/users/nicorikken/gists{/gist_id}","starred_url":"https://api.github.com/users/nicorikken/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicorikken/subscriptions","organizations_url":"https://api.github.com/users/nicorikken/orgs","repos_url":"https://api.github.com/users/nicorikken/repos","events_url":"https://api.github.com/users/nicorikken/events{/privacy}","received_events_url":"https://api.github.com/users/nicorikken/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-11-10T07:05:12Z","updated_at":"2016-11-10T07:05:12Z","closed_at":null,"body":"Reading the readme, trying to get the Docker setup to run, I was presented with the following error:\r\n\r\n```\r\n$ make publish-commit\r\nPulling db (postgres:latest)...\r\nlatest: Pulling from library/postgres\r\n386a066cd84a: Pull complete\r\ne6dd80b38d38: Pull complete\r\n9cd706823821: Pull complete\r\n40c17ac202a9: Pull complete\r\n7380b383ba3d: Pull complete\r\n538e418b46ce: Pull complete\r\nc3b9d41b7758: Pull complete\r\ndd4f9522dd30: Pull complete\r\n920e548f9635: Pull complete\r\n628af7ef2ee5: Pull complete\r\n211678575a06: Pull complete\r\nDigest: sha256:3da198a1846d1fa6cf55978c8326d5c7e801155843c469ce9213cdbb25b5ae33\r\nStatus: Downloaded newer image for postgres:latest\r\nCreating freedomvote_db_1\r\n\r\nERROR: for db  Cannot start service db: driver failed programming external connectivity on endpoint freedomvote_db_1 (47b8bde95c64195ff573811f6da543766119b26c8cd3b7c0e6c1e1f2387dbafa): Error starting userland proxy: Bind for 0.0.0.0:5432: unexpected error Uwt.Uwt_error(Uwt.EADDRINUSE, \"listen\", \"\")\r\nERROR: Encountered errors while bringing up the project.\r\nmake: *** [docker-init] Error 1\r\n```\r\n\r\nI tried running the `docker-compose up` directy, but after building the application, it too fails on the db:\r\n```\r\n$ docker-compose up\r\nCreating freedomvote_db_1\r\n\r\nERROR: for db  Cannot start service db: driver failed programming external connectivity on endpoint freedomvote_db_1 (8be7aa292667245456c55f91183a9c62c55b61fd026b5549103b961a86cd5e8e): Error starting userland proxy: Bind for 0.0.0.0:5432 failed: port is already allocated\r\nERROR: Encountered errors while bringing up the project.\r\n```\r\n\r\nI guess the db Docker image has changed. I'll look into it. But if somebody now the fix by heart, please let me know."}}
{"actor":{"display_login":"nicorikken"}}