{"action":"created","comment":{"url":"https://api.github.com/repos/everlutionsk/symfony-docker/pulls/comments/132926073","pull_request_review_id":56051318,"id":132926073,"diff_hunk":"@@ -15,14 +25,26 @@ export BASE_AUTH_PASSWORD=${SYMFONY_BASE_AUTH_PASSWORD:-password}\n echo -e \"\\e[96m ENV=$APP_ENV; DOMAIN=$APP_DOMAIN \\e[0m\"\n \n if [ \"$APP_ENV\" == \"prod\" ]; then\n-    COMPOSE_FILE=\"-f docker-compose.yml\"\n+    COMPOSE_FILE=\"-f ./ops/docker-compose.yml\"\n else\n-    COMPOSE_FILE=\"-f docker-compose.yml -f docker-compose-dev.yml\"\n+    COMPOSE_FILE=\"-f ./ops/docker-compose.yml -f ./ops/docker-compose-dev.yml\"\n     export DB_PORT=${SYMFONY_DB_PORT:-3306}\n fi\n \n-if [ $# -gt 0 ]; then\n-    docker-compose $COMPOSE_FILE \"$@\"\n-else\n-    docker-compose $COMPOSE_FILE ps\n+if [ $1 = \"up\" ]; then\n+    echo -e \"\\e[42m STOP, BUILD and UP CONTAINERS \\e[0m\" && \\\n+    docker-compose $COMPOSE_FILE stop && \\\n+    docker-compose $COMPOSE_FILE build && \\\n+    docker-compose $COMPOSE_FILE up -d && \\\n+    exit 0\n+elif [ $1 = \"down\" ]; then\n+    echo -e \"\\e[41m STOP & REMOVE CONTAINERS \\e[0m\"\n+    docker rm -f $(docker ps -a -q) && \\\n+    exit 0\n+elif [ $1 = \"stop\" ]; then\n+    echo -e \"\\e[41m STOP CONTAINERS \\e[0m\"\n+    docker-compose $COMPOSE_FILE stop && \\","path":"compose","position":47,"original_position":47,"commit_id":"589951dac10b5ab5516771f97dbf8b8564c48f50","original_commit_id":"589951dac10b5ab5516771f97dbf8b8564c48f50","user":{"login":"ivanbarlog","id":2583610,"avatar_url":"https://avatars2.githubusercontent.com/u/2583610?v=4","gravatar_id":"","url":"https://api.github.com/users/ivanbarlog","html_url":"https://github.com/ivanbarlog","followers_url":"https://api.github.com/users/ivanbarlog/followers","following_url":"https://api.github.com/users/ivanbarlog/following{/other_user}","gists_url":"https://api.github.com/users/ivanbarlog/gists{/gist_id}","starred_url":"https://api.github.com/users/ivanbarlog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ivanbarlog/subscriptions","organizations_url":"https://api.github.com/users/ivanbarlog/orgs","repos_url":"https://api.github.com/users/ivanbarlog/repos","events_url":"https://api.github.com/users/ivanbarlog/events{/privacy}","received_events_url":"https://api.github.com/users/ivanbarlog/received_events","type":"User","site_admin":false},"body":"what is `&& \\` for?","created_at":"2017-08-14T11:11:13Z","updated_at":"2017-08-14T11:13:31Z","html_url":"https://github.com/everlutionsk/symfony-docker/pull/5#discussion_r132926073","pull_request_url":"https://api.github.com/repos/everlutionsk/symfony-docker/pulls/5","_links":{"self":{"href":"https://api.github.com/repos/everlutionsk/symfony-docker/pulls/comments/132926073"},"html":{"href":"https://github.com/everlutionsk/symfony-docker/pull/5#discussion_r132926073"},"pull_request":{"href":"https://api.github.com/repos/everlutionsk/symfony-docker/pulls/5"}}},"pull_request":{"url":"https://api.github.com/repos/everlutionsk/symfony-docker/pulls/5","id":135362664,"html_url":"https://github.com/everlutionsk/symfony-docker/pull/5","diff_url":"https://github.com/everlutionsk/symfony-docker/pull/5.diff","patch_url":"https://github.com/everlutionsk/symfony-docker/pull/5.patch","issue_url":"https://api.github.com/repos/everlutionsk/symfony-docker/issues/5","number":5,"state":"open","locked":false,"title":"#4 pripomienky","user":{"login":"ttibensky","id":5850762,"avatar_url":"https://avatars1.githubusercontent.com/u/5850762?v=4","gravatar_id":"","url":"https://api.github.com/users/ttibensky","html_url":"https://github.com/ttibensky","followers_url":"https://api.github.com/users/ttibensky/followers","following_url":"https://api.github.com/users/ttibensky/following{/other_user}","gists_url":"https://api.github.com/users/ttibensky/gists{/gist_id}","starred_url":"https://api.github.com/users/ttibensky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ttibensky/subscriptions","organizations_url":"https://api.github.com/users/ttibensky/orgs","repos_url":"https://api.github.com/users/ttibensky/repos","events_url":"https://api.github.com/users/ttibensky/events{/privacy}","received_events_url":"https://api.github.com/users/ttibensky/received_events","type":"User","site_admin":false},"body":"zmeny ktore som pushol su funkcne, updatol som aj readme, takze sa to moze mergnut, ale zasa nabuduce ked si najdem cas tak urobim dalsie veci z toho listku. este to nie je vsetko","created_at":"2017-08-11T15:36:36Z","updated_at":"2017-08-14T11:13:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d2b060b098dd8b3a4f575c9f00fdfdd77504d6e4","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/everlutionsk/symfony-docker/pulls/5/commits","review_comments_url":"https://api.github.com/repos/everlutionsk/symfony-docker/pulls/5/comments","review_comment_url":"https://api.github.com/repos/everlutionsk/symfony-docker/pulls/comments{/number}","comments_url":"https://api.github.com/repos/everlutionsk/symfony-docker/issues/5/comments","statuses_url":"https://api.github.com/repos/everlutionsk/symfony-docker/statuses/589951dac10b5ab5516771f97dbf8b8564c48f50","head":{"label":"everlutionsk:feature-4","ref":"feature-4","sha":"589951dac10b5ab5516771f97dbf8b8564c48f50","user":{"login":"everlutionsk","id":5153176,"avatar_url":"https://avatars3.githubusercontent.com/u/5153176?v=4","gravatar_id":"","url":"https://api.github.com/users/everlutionsk","html_url":"https://github.com/everlutionsk","followers_url":"https://api.github.com/users/everlutionsk/followers","following_url":"https://api.github.com/users/everlutionsk/following{/other_user}","gists_url":"https://api.github.com/users/everlutionsk/gists{/gist_id}","starred_url":"https://api.github.com/users/everlutionsk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/everlutionsk/subscriptions","organizations_url":"https://api.github.com/users/everlutionsk/orgs","repos_url":"https://api.github.com/users/everlutionsk/repos","events_url":"https://api.github.com/users/everlutionsk/events{/privacy}","received_events_url":"https://api.github.com/users/everlutionsk/received_events","type":"Organization","site_admin":false},"repo":{"id":81575308,"name":"symfony-docker","full_name":"everlutionsk/symfony-docker","owner":{"login":"everlutionsk","id":5153176,"avatar_url":"https://avatars3.githubusercontent.com/u/5153176?v=4","gravatar_id":"","url":"https://api.github.com/users/everlutionsk","html_url":"https://github.com/everlutionsk","followers_url":"https://api.github.com/users/everlutionsk/followers","following_url":"https://api.github.com/users/everlutionsk/following{/other_user}","gists_url":"https://api.github.com/users/everlutionsk/gists{/gist_id}","starred_url":"https://api.github.com/users/everlutionsk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/everlutionsk/subscriptions","organizations_url":"https://api.github.com/users/everlutionsk/orgs","repos_url":"https://api.github.com/users/everlutionsk/repos","events_url":"https://api.github.com/users/everlutionsk/events{/privacy}","received_events_url":"https://api.github.com/users/everlutionsk/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/everlutionsk/symfony-docker","description":"Provides simple docker configuration for Symfony 3 projects within multiple environments","fork":false,"url":"https://api.github.com/repos/everlutionsk/symfony-docker","forks_url":"https://api.github.com/repos/everlutionsk/symfony-docker/forks","keys_url":"https://api.github.com/repos/everlutionsk/symfony-docker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/everlutionsk/symfony-docker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/everlutionsk/symfony-docker/teams","hooks_url":"https://api.github.com/repos/everlutionsk/symfony-docker/hooks","issue_events_url":"https://api.github.com/repos/everlutionsk/symfony-docker/issues/events{/number}","events_url":"https://api.github.com/repos/everlutionsk/symfony-docker/events","assignees_url":"https://api.github.com/repos/everlutionsk/symfony-docker/assignees{/user}","branches_url":"https://api.github.com/repos/everlutionsk/symfony-docker/branches{/branch}","tags_url":"https://api.github.com/repos/everlutionsk/symfony-docker/tags","blobs_url":"https://api.github.com/repos/everlutionsk/symfony-docker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/everlutionsk/symfony-docker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/everlutionsk/symfony-docker/git/refs{/sha}","trees_url":"https://api.github.com/repos/everlutionsk/symfony-docker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/everlutionsk/symfony-docker/statuses/{sha}","languages_url":"https://api.github.com/repos/everlutionsk/symfony-docker/languages","stargazers_url":"https://api.github.com/repos/everlutionsk/symfony-docker/stargazers","contributors_url":"https://api.github.com/repos/everlutionsk/symfony-docker/contributors","subscribers_url":"https://api.github.com/repos/everlutionsk/symfony-docker/subscribers","subscription_url":"https://api.github.com/repos/everlutionsk/symfony-docker/subscription","commits_url":"https://api.github.com/repos/everlutionsk/symfony-docker/commits{/sha}","git_commits_url":"https://api.github.com/repos/everlutionsk/symfony-docker/git/commits{/sha}","comments_url":"https://api.github.com/repos/everlutionsk/symfony-docker/comments{/number}","issue_comment_url":"https://api.github.com/repos/everlutionsk/symfony-docker/issues/comments{/number}","contents_url":"https://api.github.com/repos/everlutionsk/symfony-docker/contents/{+path}","compare_url":"https://api.github.com/repos/everlutionsk/symfony-docker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/everlutionsk/symfony-docker/merges","archive_url":"https://api.github.com/repos/everlutionsk/symfony-docker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/everlutionsk/symfony-docker/downloads","issues_url":"https://api.github.com/repos/everlutionsk/symfony-docker/issues{/number}","pulls_url":"https://api.github.com/repos/everlutionsk/symfony-docker/pulls{/number}","milestones_url":"https://api.github.com/repos/everlutionsk/symfony-docker/milestones{/number}","notifications_url":"https://api.github.com/repos/everlutionsk/symfony-docker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/everlutionsk/symfony-docker/labels{/name}","releases_url":"https://api.github.com/repos/everlutionsk/symfony-docker/releases{/id}","deployments_url":"https://api.github.com/repos/everlutionsk/symfony-docker/deployments","created_at":"2017-02-10T14:55:32Z","updated_at":"2017-07-12T08:24:46Z","pushed_at":"2017-08-11T15:36:37Z","git_url":"git://github.com/everlutionsk/symfony-docker.git","ssh_url":"git@github.com:everlutionsk/symfony-docker.git","clone_url":"https://github.com/everlutionsk/symfony-docker.git","svn_url":"https://github.com/everlutionsk/symfony-docker","homepage":"","size":68,"stargazers_count":0,"watchers_count":0,"language":"Shell","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"everlutionsk:master","ref":"master","sha":"a476665ee52ee34295fe9fdb7234acef3e3fa687","user":{"login":"everlutionsk","id":5153176,"avatar_url":"https://avatars3.githubusercontent.com/u/5153176?v=4","gravatar_id":"","url":"https://api.github.com/users/everlutionsk","html_url":"https://github.com/everlutionsk","followers_url":"https://api.github.com/users/everlutionsk/followers","following_url":"https://api.github.com/users/everlutionsk/following{/other_user}","gists_url":"https://api.github.com/users/everlutionsk/gists{/gist_id}","starred_url":"https://api.github.com/users/everlutionsk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/everlutionsk/subscriptions","organizations_url":"https://api.github.com/users/everlutionsk/orgs","repos_url":"https://api.github.com/users/everlutionsk/repos","events_url":"https://api.github.com/users/everlutionsk/events{/privacy}","received_events_url":"https://api.github.com/users/everlutionsk/received_events","type":"Organization","site_admin":false},"repo":{"id":81575308,"name":"symfony-docker","full_name":"everlutionsk/symfony-docker","owner":{"login":"everlutionsk","id":5153176,"avatar_url":"https://avatars3.githubusercontent.com/u/5153176?v=4","gravatar_id":"","url":"https://api.github.com/users/everlutionsk","html_url":"https://github.com/everlutionsk","followers_url":"https://api.github.com/users/everlutionsk/followers","following_url":"https://api.github.com/users/everlutionsk/following{/other_user}","gists_url":"https://api.github.com/users/everlutionsk/gists{/gist_id}","starred_url":"https://api.github.com/users/everlutionsk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/everlutionsk/subscriptions","organizations_url":"https://api.github.com/users/everlutionsk/orgs","repos_url":"https://api.github.com/users/everlutionsk/repos","events_url":"https://api.github.com/users/everlutionsk/events{/privacy}","received_events_url":"https://api.github.com/users/everlutionsk/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/everlutionsk/symfony-docker","description":"Provides simple docker configuration for Symfony 3 projects within multiple environments","fork":false,"url":"https://api.github.com/repos/everlutionsk/symfony-docker","forks_url":"https://api.github.com/repos/everlutionsk/symfony-docker/forks","keys_url":"https://api.github.com/repos/everlutionsk/symfony-docker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/everlutionsk/symfony-docker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/everlutionsk/symfony-docker/teams","hooks_url":"https://api.github.com/repos/everlutionsk/symfony-docker/hooks","issue_events_url":"https://api.github.com/repos/everlutionsk/symfony-docker/issues/events{/number}","events_url":"https://api.github.com/repos/everlutionsk/symfony-docker/events","assignees_url":"https://api.github.com/repos/everlutionsk/symfony-docker/assignees{/user}","branches_url":"https://api.github.com/repos/everlutionsk/symfony-docker/branches{/branch}","tags_url":"https://api.github.com/repos/everlutionsk/symfony-docker/tags","blobs_url":"https://api.github.com/repos/everlutionsk/symfony-docker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/everlutionsk/symfony-docker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/everlutionsk/symfony-docker/git/refs{/sha}","trees_url":"https://api.github.com/repos/everlutionsk/symfony-docker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/everlutionsk/symfony-docker/statuses/{sha}","languages_url":"https://api.github.com/repos/everlutionsk/symfony-docker/languages","stargazers_url":"https://api.github.com/repos/everlutionsk/symfony-docker/stargazers","contributors_url":"https://api.github.com/repos/everlutionsk/symfony-docker/contributors","subscribers_url":"https://api.github.com/repos/everlutionsk/symfony-docker/subscribers","subscription_url":"https://api.github.com/repos/everlutionsk/symfony-docker/subscription","commits_url":"https://api.github.com/repos/everlutionsk/symfony-docker/commits{/sha}","git_commits_url":"https://api.github.com/repos/everlutionsk/symfony-docker/git/commits{/sha}","comments_url":"https://api.github.com/repos/everlutionsk/symfony-docker/comments{/number}","issue_comment_url":"https://api.github.com/repos/everlutionsk/symfony-docker/issues/comments{/number}","contents_url":"https://api.github.com/repos/everlutionsk/symfony-docker/contents/{+path}","compare_url":"https://api.github.com/repos/everlutionsk/symfony-docker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/everlutionsk/symfony-docker/merges","archive_url":"https://api.github.com/repos/everlutionsk/symfony-docker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/everlutionsk/symfony-docker/downloads","issues_url":"https://api.github.com/repos/everlutionsk/symfony-docker/issues{/number}","pulls_url":"https://api.github.com/repos/everlutionsk/symfony-docker/pulls{/number}","milestones_url":"https://api.github.com/repos/everlutionsk/symfony-docker/milestones{/number}","notifications_url":"https://api.github.com/repos/everlutionsk/symfony-docker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/everlutionsk/symfony-docker/labels{/name}","releases_url":"https://api.github.com/repos/everlutionsk/symfony-docker/releases{/id}","deployments_url":"https://api.github.com/repos/everlutionsk/symfony-docker/deployments","created_at":"2017-02-10T14:55:32Z","updated_at":"2017-07-12T08:24:46Z","pushed_at":"2017-08-11T15:36:37Z","git_url":"git://github.com/everlutionsk/symfony-docker.git","ssh_url":"git@github.com:everlutionsk/symfony-docker.git","clone_url":"https://github.com/everlutionsk/symfony-docker.git","svn_url":"https://github.com/everlutionsk/symfony-docker","homepage":"","size":68,"stargazers_count":0,"watchers_count":0,"language":"Shell","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/everlutionsk/symfony-docker/pulls/5"},"html":{"href":"https://github.com/everlutionsk/symfony-docker/pull/5"},"issue":{"href":"https://api.github.com/repos/everlutionsk/symfony-docker/issues/5"},"comments":{"href":"https://api.github.com/repos/everlutionsk/symfony-docker/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/everlutionsk/symfony-docker/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/everlutionsk/symfony-docker/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/everlutionsk/symfony-docker/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/everlutionsk/symfony-docker/statuses/589951dac10b5ab5516771f97dbf8b8564c48f50"}}}}
{"actor":{"display_login":"ivanbarlog"}}