{"action":"created","comment":{"url":"https://api.github.com/repos/claranet/spryker-demoshop/pulls/comments/227320937","pull_request_review_id":167333086,"id":227320937,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyNzMyMDkzNw==","diff_hunk":"@@ -100,6 +100,10 @@ compose_recreate() {\n     echo \"\\nRecreating $c container ...\"\n     docker_compose stop $c\n     docker_compose rm -f $c\n+    # check conainer have named volume\n+    if docker volume list | grep -E \"$c-$ENV-*\" 2>&1 >/dev/null ; then\n+      docker volume rm $(docker volume list | grep -E \"$c-$ENV-*\" | awk '{print $2}') 2>&1 >/dev/null","path":"docker/run","position":6,"original_position":6,"commit_id":"ca8307b4bf22280def0a99ba6a7da9387b92fd63","original_commit_id":"ca8307b4bf22280def0a99ba6a7da9387b92fd63","user":{"login":"MaWich","id":19953717,"node_id":"MDQ6VXNlcjE5OTUzNzE3","avatar_url":"https://avatars3.githubusercontent.com/u/19953717?v=4","gravatar_id":"","url":"https://api.github.com/users/MaWich","html_url":"https://github.com/MaWich","followers_url":"https://api.github.com/users/MaWich/followers","following_url":"https://api.github.com/users/MaWich/following{/other_user}","gists_url":"https://api.github.com/users/MaWich/gists{/gist_id}","starred_url":"https://api.github.com/users/MaWich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MaWich/subscriptions","organizations_url":"https://api.github.com/users/MaWich/orgs","repos_url":"https://api.github.com/users/MaWich/repos","events_url":"https://api.github.com/users/MaWich/events{/privacy}","received_events_url":"https://api.github.com/users/MaWich/received_events","type":"User","site_admin":false},"body":"```\r\ndocker-compose rm --help\r\n....\r\n-v            Remove any anonymous volumes attached to containers\r\n...\r\n```\r\n\r\nwill not work with named volumes.","created_at":"2018-10-23T10:09:21Z","updated_at":"2018-10-23T10:09:22Z","html_url":"https://github.com/claranet/spryker-demoshop/pull/39#discussion_r227320937","pull_request_url":"https://api.github.com/repos/claranet/spryker-demoshop/pulls/39","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/claranet/spryker-demoshop/pulls/comments/227320937"},"html":{"href":"https://github.com/claranet/spryker-demoshop/pull/39#discussion_r227320937"},"pull_request":{"href":"https://api.github.com/repos/claranet/spryker-demoshop/pulls/39"}},"in_reply_to_id":227288487},"pull_request":{"url":"https://api.github.com/repos/claranet/spryker-demoshop/pulls/39","id":223572147,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIzNTcyMTQ3","html_url":"https://github.com/claranet/spryker-demoshop/pull/39","diff_url":"https://github.com/claranet/spryker-demoshop/pull/39.diff","patch_url":"https://github.com/claranet/spryker-demoshop/pull/39.patch","issue_url":"https://api.github.com/repos/claranet/spryker-demoshop/issues/39","number":39,"state":"open","locked":false,"title":"docker-compose up/down volume fix","user":{"login":"MaWich","id":19953717,"node_id":"MDQ6VXNlcjE5OTUzNzE3","avatar_url":"https://avatars3.githubusercontent.com/u/19953717?v=4","gravatar_id":"","url":"https://api.github.com/users/MaWich","html_url":"https://github.com/MaWich","followers_url":"https://api.github.com/users/MaWich/followers","following_url":"https://api.github.com/users/MaWich/following{/other_user}","gists_url":"https://api.github.com/users/MaWich/gists{/gist_id}","starred_url":"https://api.github.com/users/MaWich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MaWich/subscriptions","organizations_url":"https://api.github.com/users/MaWich/orgs","repos_url":"https://api.github.com/users/MaWich/repos","events_url":"https://api.github.com/users/MaWich/events{/privacy}","received_events_url":"https://api.github.com/users/MaWich/received_events","type":"User","site_admin":false},"body":"If you use `docker/run [devel, prod] up` or `down` (usually in docker-compose world), it deletes the created volume.\r\n\r\nThis update creates and uses a volume based on ENV so you do not have to end with CTRL-C. Now you can work up and down.","created_at":"2018-10-17T11:50:30Z","updated_at":"2018-10-23T10:09:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3f128107f67bc3133e09720974a8c31d5d166f4e","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/claranet/spryker-demoshop/pulls/39/commits","review_comments_url":"https://api.github.com/repos/claranet/spryker-demoshop/pulls/39/comments","review_comment_url":"https://api.github.com/repos/claranet/spryker-demoshop/pulls/comments{/number}","comments_url":"https://api.github.com/repos/claranet/spryker-demoshop/issues/39/comments","statuses_url":"https://api.github.com/repos/claranet/spryker-demoshop/statuses/ca8307b4bf22280def0a99ba6a7da9387b92fd63","head":{"label":"MaWich:docker-compose_volume_fix","ref":"docker-compose_volume_fix","sha":"ca8307b4bf22280def0a99ba6a7da9387b92fd63","user":{"login":"MaWich","id":19953717,"node_id":"MDQ6VXNlcjE5OTUzNzE3","avatar_url":"https://avatars3.githubusercontent.com/u/19953717?v=4","gravatar_id":"","url":"https://api.github.com/users/MaWich","html_url":"https://github.com/MaWich","followers_url":"https://api.github.com/users/MaWich/followers","following_url":"https://api.github.com/users/MaWich/following{/other_user}","gists_url":"https://api.github.com/users/MaWich/gists{/gist_id}","starred_url":"https://api.github.com/users/MaWich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MaWich/subscriptions","organizations_url":"https://api.github.com/users/MaWich/orgs","repos_url":"https://api.github.com/users/MaWich/repos","events_url":"https://api.github.com/users/MaWich/events{/privacy}","received_events_url":"https://api.github.com/users/MaWich/received_events","type":"User","site_admin":false},"repo":{"id":153445133,"node_id":"MDEwOlJlcG9zaXRvcnkxNTM0NDUxMzM=","name":"spryker-demoshop","full_name":"MaWich/spryker-demoshop","private":false,"owner":{"login":"MaWich","id":19953717,"node_id":"MDQ6VXNlcjE5OTUzNzE3","avatar_url":"https://avatars3.githubusercontent.com/u/19953717?v=4","gravatar_id":"","url":"https://api.github.com/users/MaWich","html_url":"https://github.com/MaWich","followers_url":"https://api.github.com/users/MaWich/followers","following_url":"https://api.github.com/users/MaWich/following{/other_user}","gists_url":"https://api.github.com/users/MaWich/gists{/gist_id}","starred_url":"https://api.github.com/users/MaWich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MaWich/subscriptions","organizations_url":"https://api.github.com/users/MaWich/orgs","repos_url":"https://api.github.com/users/MaWich/repos","events_url":"https://api.github.com/users/MaWich/events{/privacy}","received_events_url":"https://api.github.com/users/MaWich/received_events","type":"User","site_admin":false},"html_url":"https://github.com/MaWich/spryker-demoshop","description":"Containerized demoshop based on the Spryker Commerce OS","fork":true,"url":"https://api.github.com/repos/MaWich/spryker-demoshop","forks_url":"https://api.github.com/repos/MaWich/spryker-demoshop/forks","keys_url":"https://api.github.com/repos/MaWich/spryker-demoshop/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MaWich/spryker-demoshop/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MaWich/spryker-demoshop/teams","hooks_url":"https://api.github.com/repos/MaWich/spryker-demoshop/hooks","issue_events_url":"https://api.github.com/repos/MaWich/spryker-demoshop/issues/events{/number}","events_url":"https://api.github.com/repos/MaWich/spryker-demoshop/events","assignees_url":"https://api.github.com/repos/MaWich/spryker-demoshop/assignees{/user}","branches_url":"https://api.github.com/repos/MaWich/spryker-demoshop/branches{/branch}","tags_url":"https://api.github.com/repos/MaWich/spryker-demoshop/tags","blobs_url":"https://api.github.com/repos/MaWich/spryker-demoshop/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MaWich/spryker-demoshop/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MaWich/spryker-demoshop/git/refs{/sha}","trees_url":"https://api.github.com/repos/MaWich/spryker-demoshop/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MaWich/spryker-demoshop/statuses/{sha}","languages_url":"https://api.github.com/repos/MaWich/spryker-demoshop/languages","stargazers_url":"https://api.github.com/repos/MaWich/spryker-demoshop/stargazers","contributors_url":"https://api.github.com/repos/MaWich/spryker-demoshop/contributors","subscribers_url":"https://api.github.com/repos/MaWich/spryker-demoshop/subscribers","subscription_url":"https://api.github.com/repos/MaWich/spryker-demoshop/subscription","commits_url":"https://api.github.com/repos/MaWich/spryker-demoshop/commits{/sha}","git_commits_url":"https://api.github.com/repos/MaWich/spryker-demoshop/git/commits{/sha}","comments_url":"https://api.github.com/repos/MaWich/spryker-demoshop/comments{/number}","issue_comment_url":"https://api.github.com/repos/MaWich/spryker-demoshop/issues/comments{/number}","contents_url":"https://api.github.com/repos/MaWich/spryker-demoshop/contents/{+path}","compare_url":"https://api.github.com/repos/MaWich/spryker-demoshop/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MaWich/spryker-demoshop/merges","archive_url":"https://api.github.com/repos/MaWich/spryker-demoshop/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MaWich/spryker-demoshop/downloads","issues_url":"https://api.github.com/repos/MaWich/spryker-demoshop/issues{/number}","pulls_url":"https://api.github.com/repos/MaWich/spryker-demoshop/pulls{/number}","milestones_url":"https://api.github.com/repos/MaWich/spryker-demoshop/milestones{/number}","notifications_url":"https://api.github.com/repos/MaWich/spryker-demoshop/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MaWich/spryker-demoshop/labels{/name}","releases_url":"https://api.github.com/repos/MaWich/spryker-demoshop/releases{/id}","deployments_url":"https://api.github.com/repos/MaWich/spryker-demoshop/deployments","created_at":"2018-10-17T11:25:21Z","updated_at":"2018-10-17T11:25:27Z","pushed_at":"2018-10-22T11:37:36Z","git_url":"git://github.com/MaWich/spryker-demoshop.git","ssh_url":"git@github.com:MaWich/spryker-demoshop.git","clone_url":"https://github.com/MaWich/spryker-demoshop.git","svn_url":"https://github.com/MaWich/spryker-demoshop","homepage":"https://www.claranet.de/spryker-hosting","size":204764,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"claranet:master","ref":"master","sha":"d9baf7a1d5924b6c761dc13b8ba83c13447fd4ad","user":{"login":"claranet","id":7526691,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc1MjY2OTE=","avatar_url":"https://avatars3.githubusercontent.com/u/7526691?v=4","gravatar_id":"","url":"https://api.github.com/users/claranet","html_url":"https://github.com/claranet","followers_url":"https://api.github.com/users/claranet/followers","following_url":"https://api.github.com/users/claranet/following{/other_user}","gists_url":"https://api.github.com/users/claranet/gists{/gist_id}","starred_url":"https://api.github.com/users/claranet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/claranet/subscriptions","organizations_url":"https://api.github.com/users/claranet/orgs","repos_url":"https://api.github.com/users/claranet/repos","events_url":"https://api.github.com/users/claranet/events{/privacy}","received_events_url":"https://api.github.com/users/claranet/received_events","type":"Organization","site_admin":false},"repo":{"id":90019228,"node_id":"MDEwOlJlcG9zaXRvcnk5MDAxOTIyOA==","name":"spryker-demoshop","full_name":"claranet/spryker-demoshop","private":false,"owner":{"login":"claranet","id":7526691,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc1MjY2OTE=","avatar_url":"https://avatars3.githubusercontent.com/u/7526691?v=4","gravatar_id":"","url":"https://api.github.com/users/claranet","html_url":"https://github.com/claranet","followers_url":"https://api.github.com/users/claranet/followers","following_url":"https://api.github.com/users/claranet/following{/other_user}","gists_url":"https://api.github.com/users/claranet/gists{/gist_id}","starred_url":"https://api.github.com/users/claranet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/claranet/subscriptions","organizations_url":"https://api.github.com/users/claranet/orgs","repos_url":"https://api.github.com/users/claranet/repos","events_url":"https://api.github.com/users/claranet/events{/privacy}","received_events_url":"https://api.github.com/users/claranet/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/claranet/spryker-demoshop","description":"Containerized demoshop based on the Spryker Commerce OS","fork":false,"url":"https://api.github.com/repos/claranet/spryker-demoshop","forks_url":"https://api.github.com/repos/claranet/spryker-demoshop/forks","keys_url":"https://api.github.com/repos/claranet/spryker-demoshop/keys{/key_id}","collaborators_url":"https://api.github.com/repos/claranet/spryker-demoshop/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/claranet/spryker-demoshop/teams","hooks_url":"https://api.github.com/repos/claranet/spryker-demoshop/hooks","issue_events_url":"https://api.github.com/repos/claranet/spryker-demoshop/issues/events{/number}","events_url":"https://api.github.com/repos/claranet/spryker-demoshop/events","assignees_url":"https://api.github.com/repos/claranet/spryker-demoshop/assignees{/user}","branches_url":"https://api.github.com/repos/claranet/spryker-demoshop/branches{/branch}","tags_url":"https://api.github.com/repos/claranet/spryker-demoshop/tags","blobs_url":"https://api.github.com/repos/claranet/spryker-demoshop/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/claranet/spryker-demoshop/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/claranet/spryker-demoshop/git/refs{/sha}","trees_url":"https://api.github.com/repos/claranet/spryker-demoshop/git/trees{/sha}","statuses_url":"https://api.github.com/repos/claranet/spryker-demoshop/statuses/{sha}","languages_url":"https://api.github.com/repos/claranet/spryker-demoshop/languages","stargazers_url":"https://api.github.com/repos/claranet/spryker-demoshop/stargazers","contributors_url":"https://api.github.com/repos/claranet/spryker-demoshop/contributors","subscribers_url":"https://api.github.com/repos/claranet/spryker-demoshop/subscribers","subscription_url":"https://api.github.com/repos/claranet/spryker-demoshop/subscription","commits_url":"https://api.github.com/repos/claranet/spryker-demoshop/commits{/sha}","git_commits_url":"https://api.github.com/repos/claranet/spryker-demoshop/git/commits{/sha}","comments_url":"https://api.github.com/repos/claranet/spryker-demoshop/comments{/number}","issue_comment_url":"https://api.github.com/repos/claranet/spryker-demoshop/issues/comments{/number}","contents_url":"https://api.github.com/repos/claranet/spryker-demoshop/contents/{+path}","compare_url":"https://api.github.com/repos/claranet/spryker-demoshop/compare/{base}...{head}","merges_url":"https://api.github.com/repos/claranet/spryker-demoshop/merges","archive_url":"https://api.github.com/repos/claranet/spryker-demoshop/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/claranet/spryker-demoshop/downloads","issues_url":"https://api.github.com/repos/claranet/spryker-demoshop/issues{/number}","pulls_url":"https://api.github.com/repos/claranet/spryker-demoshop/pulls{/number}","milestones_url":"https://api.github.com/repos/claranet/spryker-demoshop/milestones{/number}","notifications_url":"https://api.github.com/repos/claranet/spryker-demoshop/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/claranet/spryker-demoshop/labels{/name}","releases_url":"https://api.github.com/repos/claranet/spryker-demoshop/releases{/id}","deployments_url":"https://api.github.com/repos/claranet/spryker-demoshop/deployments","created_at":"2017-05-02T10:10:08Z","updated_at":"2018-09-25T18:42:32Z","pushed_at":"2018-10-22T11:37:37Z","git_url":"git://github.com/claranet/spryker-demoshop.git","ssh_url":"git@github.com:claranet/spryker-demoshop.git","clone_url":"https://github.com/claranet/spryker-demoshop.git","svn_url":"https://github.com/claranet/spryker-demoshop","homepage":"https://www.claranet.de/spryker-hosting","size":204768,"stargazers_count":12,"watchers_count":12,"language":"PHP","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":5,"mirror_url":null,"archived":false,"open_issues_count":7,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":5,"open_issues":7,"watchers":12,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/claranet/spryker-demoshop/pulls/39"},"html":{"href":"https://github.com/claranet/spryker-demoshop/pull/39"},"issue":{"href":"https://api.github.com/repos/claranet/spryker-demoshop/issues/39"},"comments":{"href":"https://api.github.com/repos/claranet/spryker-demoshop/issues/39/comments"},"review_comments":{"href":"https://api.github.com/repos/claranet/spryker-demoshop/pulls/39/comments"},"review_comment":{"href":"https://api.github.com/repos/claranet/spryker-demoshop/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/claranet/spryker-demoshop/pulls/39/commits"},"statuses":{"href":"https://api.github.com/repos/claranet/spryker-demoshop/statuses/ca8307b4bf22280def0a99ba6a7da9387b92fd63"}},"author_association":"NONE"}}
{"actor":{"display_login":"MaWich"}}