{"action":"created","issue":{"url":"https://api.github.com/repos/edenspiekermann/iris-temp/issues/1","repository_url":"https://api.github.com/repos/edenspiekermann/iris-temp","labels_url":"https://api.github.com/repos/edenspiekermann/iris-temp/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/edenspiekermann/iris-temp/issues/1/comments","events_url":"https://api.github.com/repos/edenspiekermann/iris-temp/issues/1/events","html_url":"https://github.com/edenspiekermann/iris-temp/pull/1","id":165341007,"number":1,"title":"[WIP] Basic Docker Setup","user":{"login":"sigmarstern","id":1721555,"avatar_url":"https://avatars.githubusercontent.com/u/1721555?v=3","gravatar_id":"","url":"https://api.github.com/users/sigmarstern","html_url":"https://github.com/sigmarstern","followers_url":"https://api.github.com/users/sigmarstern/followers","following_url":"https://api.github.com/users/sigmarstern/following{/other_user}","gists_url":"https://api.github.com/users/sigmarstern/gists{/gist_id}","starred_url":"https://api.github.com/users/sigmarstern/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sigmarstern/subscriptions","organizations_url":"https://api.github.com/users/sigmarstern/orgs","repos_url":"https://api.github.com/users/sigmarstern/repos","events_url":"https://api.github.com/users/sigmarstern/events{/privacy}","received_events_url":"https://api.github.com/users/sigmarstern/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-07-13T14:51:23Z","updated_at":"2016-07-13T16:00:23Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/edenspiekermann/iris-temp/pulls/1","html_url":"https://github.com/edenspiekermann/iris-temp/pull/1","diff_url":"https://github.com/edenspiekermann/iris-temp/pull/1.diff","patch_url":"https://github.com/edenspiekermann/iris-temp/pull/1.patch"},"body":"First build the image using `docker-compose build`. This will:\r\n\r\n- Create a new Docker image based on [`node:argon`](https://hub.docker.com/_/node/)\r\n- Runs `npm install` when building the image and keeps installed modules in `/tmp/node_modules`\r\n\r\nThen create and start a new container based on the previously built image using `docker-compose up`. This will:\r\n\r\n- mount application directory to `/app` inside the container\r\n- create a symbolic link `node_modules` pointing to `/tmp/node_modules` if not already present\r\n- create a pre-commit git hook which invokes `node_modules/pre-commit/hook` inside the container\r\n- run `npm run dev`\r\n- expose port `8000` (babel) on the Docker machine's port `80`\r\n- expose port `8080` (webpack) on the Docker machine's port `8080`\r\n\r\n@mattberridge, @pgoetze, @artibella could you please give it a try and also check, whether the pre-commit hook is working properly?\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/edenspiekermann/iris-temp/issues/comments/232402005","html_url":"https://github.com/edenspiekermann/iris-temp/pull/1#issuecomment-232402005","issue_url":"https://api.github.com/repos/edenspiekermann/iris-temp/issues/1","id":232402005,"user":{"login":"pgoetze","id":10024716,"avatar_url":"https://avatars.githubusercontent.com/u/10024716?v=3","gravatar_id":"","url":"https://api.github.com/users/pgoetze","html_url":"https://github.com/pgoetze","followers_url":"https://api.github.com/users/pgoetze/followers","following_url":"https://api.github.com/users/pgoetze/following{/other_user}","gists_url":"https://api.github.com/users/pgoetze/gists{/gist_id}","starred_url":"https://api.github.com/users/pgoetze/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pgoetze/subscriptions","organizations_url":"https://api.github.com/users/pgoetze/orgs","repos_url":"https://api.github.com/users/pgoetze/repos","events_url":"https://api.github.com/users/pgoetze/events{/privacy}","received_events_url":"https://api.github.com/users/pgoetze/received_events","type":"User","site_admin":false},"created_at":"2016-07-13T16:00:23Z","updated_at":"2016-07-13T16:00:23Z","body":"@sigmarstern What would be the local url where I can access the app? Logs tell me something like:\r\n\r\n```bash\r\n[0] http://0.0.0.0:8080/\r\nweb_1  | [0] webpack result is served from http://localhost:8080/dist/\r\nweb_1  | [0] content is served from ./static\r\nweb_1  | [1] ==> ✅  Server is listening\r\nweb_1  | [1] ==> 🌎  Go to http://cf23414b8625:8000\r\n\r\n```\r\n\r\nbut the last one does not work for me."}}
{"actor":{"display_login":"pgoetze"}}