{"action":"created","issue":{"url":"https://api.github.com/repos/vfxGer/alternative_nginx_uwsgi_flask_docker/issues/1","repository_url":"https://api.github.com/repos/vfxGer/alternative_nginx_uwsgi_flask_docker","labels_url":"https://api.github.com/repos/vfxGer/alternative_nginx_uwsgi_flask_docker/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/vfxGer/alternative_nginx_uwsgi_flask_docker/issues/1/comments","events_url":"https://api.github.com/repos/vfxGer/alternative_nginx_uwsgi_flask_docker/issues/1/events","html_url":"https://github.com/vfxGer/alternative_nginx_uwsgi_flask_docker/issues/1","id":237210750,"number":1,"title":"Error with permissions on uwsgi.sock","user":{"login":"dezoito","id":6494010,"avatar_url":"https://avatars1.githubusercontent.com/u/6494010?v=3","gravatar_id":"","url":"https://api.github.com/users/dezoito","html_url":"https://github.com/dezoito","followers_url":"https://api.github.com/users/dezoito/followers","following_url":"https://api.github.com/users/dezoito/following{/other_user}","gists_url":"https://api.github.com/users/dezoito/gists{/gist_id}","starred_url":"https://api.github.com/users/dezoito/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dezoito/subscriptions","organizations_url":"https://api.github.com/users/dezoito/orgs","repos_url":"https://api.github.com/users/dezoito/repos","events_url":"https://api.github.com/users/dezoito/events{/privacy}","received_events_url":"https://api.github.com/users/dezoito/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-06-20T13:32:51Z","updated_at":"2017-06-20T14:03:38Z","closed_at":null,"body":"Greetings,\r\n\r\nAfter cloning your repo, I ran `docker-compose build `and `docker-compose up` with no issues.\r\n\r\nHowever, when trying to run the Hello world app from the browser, I get the error below:\r\n\r\n`server_1  | 2017/06/19 22:01:56 [crit] 7#7: *1 connect() to unix:///sockets/uwsgi.sock failed (13: Permission denied) while connecting to upstream, client: 172.24.0.1, server: , request: \"GET / HTTP/1.1\", upstream: \"uwsgi://unix:///sockets/uwsgi.sock:\", host: \"127.0.0.1:3000\"`\r\n\r\nDocker runs under it's own account in the host machine (not root), so I thought that might have been the cause, but the error persists even when I ran it as root.\r\n\r\nI've done my homework trying to fix this, but nothing helped so far... any suggestions?\r\n"},"comment":{"url":"https://api.github.com/repos/vfxGer/alternative_nginx_uwsgi_flask_docker/issues/comments/309764620","html_url":"https://github.com/vfxGer/alternative_nginx_uwsgi_flask_docker/issues/1#issuecomment-309764620","issue_url":"https://api.github.com/repos/vfxGer/alternative_nginx_uwsgi_flask_docker/issues/1","id":309764620,"user":{"login":"dezoito","id":6494010,"avatar_url":"https://avatars1.githubusercontent.com/u/6494010?v=3","gravatar_id":"","url":"https://api.github.com/users/dezoito","html_url":"https://github.com/dezoito","followers_url":"https://api.github.com/users/dezoito/followers","following_url":"https://api.github.com/users/dezoito/following{/other_user}","gists_url":"https://api.github.com/users/dezoito/gists{/gist_id}","starred_url":"https://api.github.com/users/dezoito/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dezoito/subscriptions","organizations_url":"https://api.github.com/users/dezoito/orgs","repos_url":"https://api.github.com/users/dezoito/repos","events_url":"https://api.github.com/users/dezoito/events{/privacy}","received_events_url":"https://api.github.com/users/dezoito/received_events","type":"User","site_admin":false},"created_at":"2017-06-20T14:03:38Z","updated_at":"2017-06-20T14:03:38Z","body":"Thank you for the quick reply!\r\n\r\nWhat would be the best way to automate that? \r\n\r\nAdd a `RUN chmod 777 *` to the end of the Dockerfile?"}}
{"actor":{"display_login":"dezoito"}}