{"action":"opened","number":6653,"pull_request":{"url":"https://api.github.com/repos/arangodb/arangodb/pulls/6653","id":218999782,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE4OTk5Nzgy","html_url":"https://github.com/arangodb/arangodb/pull/6653","diff_url":"https://github.com/arangodb/arangodb/pull/6653.diff","patch_url":"https://github.com/arangodb/arangodb/pull/6653.patch","issue_url":"https://api.github.com/repos/arangodb/arangodb/issues/6653","number":6653,"state":"open","locked":false,"title":"DVSPIMP-2092: Docker Import for ArangoDB","user":{"login":"constantinos01","id":36510982,"node_id":"MDQ6VXNlcjM2NTEwOTgy","avatar_url":"https://avatars2.githubusercontent.com/u/36510982?v=4","gravatar_id":"","url":"https://api.github.com/users/constantinos01","html_url":"https://github.com/constantinos01","followers_url":"https://api.github.com/users/constantinos01/followers","following_url":"https://api.github.com/users/constantinos01/following{/other_user}","gists_url":"https://api.github.com/users/constantinos01/gists{/gist_id}","starred_url":"https://api.github.com/users/constantinos01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/constantinos01/subscriptions","organizations_url":"https://api.github.com/users/constantinos01/orgs","repos_url":"https://api.github.com/users/constantinos01/repos","events_url":"https://api.github.com/users/constantinos01/events{/privacy}","received_events_url":"https://api.github.com/users/constantinos01/received_events","type":"User","site_admin":false},"body":"https://jira.devfactory.com/browse/DVSPIMP-2092\r\n\r\n# Dockerfile\r\n\r\nThe Docker image is created on top of `ubuntu:18.04` & includes the development & runtime prerequisites.\r\n\r\n# Requirements\r\n\r\n - The project should be cloned from Github: \r\n `git clone https://github.com/arangodb/arangodb.git`\r\n - Docker version 18.06.1-ce\r\n - Docker compose version 1.22.0\r\n  \r\n# Quick Start\r\n\r\n- Copy `Dockerfile` & `docker-compose.yml` to `{project-root-folder}/`.\r\n- Open a terminal session to that folder\r\n- Run `docker-compose -p arango-db build`\r\n- Run `docker-compose -p arango-db up -d`\r\n- Run `docker exec arango-db bash`\r\n- At this point you are inside the docker container, in the root folder of the project. From there, you can run the commands as usual:\r\n\t- `mkdir -p build && cd build/` To create build dir and go to there\r\n\t- `cmake ..`  to generate the build environment\r\n\t- `make` to compile the apps\r\n\t- to run the arangodb\r\n\t   `build/bin/arangod -c etc/relative/arangod.conf --server.endpoint tcp://0.0.0.0:8529 /tmp/database-dir`\r\n\t   `build/bin/arangod -c etc/relative/arangod.conf data`\r\n\t\r\n- When you finish working with the container, type `exit`\r\n- Run `docker-compose -p arango-db down` to stop the service.\r\n\r\n# Work with the Docker Container\r\n\r\nCopy this deliverable (`Dockerfile` & `docker-compose.yml`) to `{project-root-folder}/`\r\n\r\n## Build the image\r\n\r\nIn `{project-root-folder}/` folder, run:\r\n\r\n```bash\r\ndocker-compose -p arango-db build\r\n```\r\n\r\nThis instruction will create a Docker image in your machine called `arango-db:latest`\r\n\r\n## Run the container\r\n\r\nIn `{project-root-folder}/` folder, run:\r\n\r\n```bash\r\ndocker-compose -p arango-db up -d\r\n```\r\n\r\nParameter `-d` makes the container run in detached mode.\r\nThis command will create a running container in detached mode called `arango-db`.\r\nYou can check the containers running with `docker ps`\r\n\r\n## Get a container session\r\n\r\nIn `{project-root-folder}/` folder, run:\r\n\r\n```bash\r\ndocker exec arango-db bash\r\n```\r\n\r\n## docker-compose.yml\r\n\r\nThe docker-compose.yml file contains a single service: `arango-db`.\r\nWe will use this service to build the ArangoDB sources from our local environment, so we mount root project dir `.` to the a `/app` folder:\r\n\r\n```yaml\r\n    volumes:\r\n      - .:/app:Z\r\n```\r\n\r\n### More\r\nPlease refer to [Readme for maintiainers](README_maintainers.md) and [Compiling on Debian](https://docs.arangodb.com/3.3/Cookbook/Compiling/Debian.html) for more details on the building and running the app.\r\n","created_at":"2018-09-28T15:08:49Z","updated_at":"2018-09-28T15:08:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/arangodb/arangodb/pulls/6653/commits","review_comments_url":"https://api.github.com/repos/arangodb/arangodb/pulls/6653/comments","review_comment_url":"https://api.github.com/repos/arangodb/arangodb/pulls/comments{/number}","comments_url":"https://api.github.com/repos/arangodb/arangodb/issues/6653/comments","statuses_url":"https://api.github.com/repos/arangodb/arangodb/statuses/68c0fb96ad968c7d8dcf8aa844521cea4284ce39","head":{"label":"trilogy-group:feature/DVSPIMP-2092-docker-import","ref":"feature/DVSPIMP-2092-docker-import","sha":"68c0fb96ad968c7d8dcf8aa844521cea4284ce39","user":{"login":"trilogy-group","id":22237814,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIyMjM3ODE0","avatar_url":"https://avatars1.githubusercontent.com/u/22237814?v=4","gravatar_id":"","url":"https://api.github.com/users/trilogy-group","html_url":"https://github.com/trilogy-group","followers_url":"https://api.github.com/users/trilogy-group/followers","following_url":"https://api.github.com/users/trilogy-group/following{/other_user}","gists_url":"https://api.github.com/users/trilogy-group/gists{/gist_id}","starred_url":"https://api.github.com/users/trilogy-group/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trilogy-group/subscriptions","organizations_url":"https://api.github.com/users/trilogy-group/orgs","repos_url":"https://api.github.com/users/trilogy-group/repos","events_url":"https://api.github.com/users/trilogy-group/events{/privacy}","received_events_url":"https://api.github.com/users/trilogy-group/received_events","type":"Organization","site_admin":false},"repo":{"id":150755459,"node_id":"MDEwOlJlcG9zaXRvcnkxNTA3NTU0NTk=","name":"arangodb","full_name":"trilogy-group/arangodb","private":false,"owner":{"login":"trilogy-group","id":22237814,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIyMjM3ODE0","avatar_url":"https://avatars1.githubusercontent.com/u/22237814?v=4","gravatar_id":"","url":"https://api.github.com/users/trilogy-group","html_url":"https://github.com/trilogy-group","followers_url":"https://api.github.com/users/trilogy-group/followers","following_url":"https://api.github.com/users/trilogy-group/following{/other_user}","gists_url":"https://api.github.com/users/trilogy-group/gists{/gist_id}","starred_url":"https://api.github.com/users/trilogy-group/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trilogy-group/subscriptions","organizations_url":"https://api.github.com/users/trilogy-group/orgs","repos_url":"https://api.github.com/users/trilogy-group/repos","events_url":"https://api.github.com/users/trilogy-group/events{/privacy}","received_events_url":"https://api.github.com/users/trilogy-group/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/trilogy-group/arangodb","description":"🥑 ArangoDB is a native multi-model database with flexible data models for documents, graphs, and key-values. Build high performance applications using a convenient SQL-like query language or JavaScript extensions.","fork":true,"url":"https://api.github.com/repos/trilogy-group/arangodb","forks_url":"https://api.github.com/repos/trilogy-group/arangodb/forks","keys_url":"https://api.github.com/repos/trilogy-group/arangodb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/trilogy-group/arangodb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/trilogy-group/arangodb/teams","hooks_url":"https://api.github.com/repos/trilogy-group/arangodb/hooks","issue_events_url":"https://api.github.com/repos/trilogy-group/arangodb/issues/events{/number}","events_url":"https://api.github.com/repos/trilogy-group/arangodb/events","assignees_url":"https://api.github.com/repos/trilogy-group/arangodb/assignees{/user}","branches_url":"https://api.github.com/repos/trilogy-group/arangodb/branches{/branch}","tags_url":"https://api.github.com/repos/trilogy-group/arangodb/tags","blobs_url":"https://api.github.com/repos/trilogy-group/arangodb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/trilogy-group/arangodb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/trilogy-group/arangodb/git/refs{/sha}","trees_url":"https://api.github.com/repos/trilogy-group/arangodb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/trilogy-group/arangodb/statuses/{sha}","languages_url":"https://api.github.com/repos/trilogy-group/arangodb/languages","stargazers_url":"https://api.github.com/repos/trilogy-group/arangodb/stargazers","contributors_url":"https://api.github.com/repos/trilogy-group/arangodb/contributors","subscribers_url":"https://api.github.com/repos/trilogy-group/arangodb/subscribers","subscription_url":"https://api.github.com/repos/trilogy-group/arangodb/subscription","commits_url":"https://api.github.com/repos/trilogy-group/arangodb/commits{/sha}","git_commits_url":"https://api.github.com/repos/trilogy-group/arangodb/git/commits{/sha}","comments_url":"https://api.github.com/repos/trilogy-group/arangodb/comments{/number}","issue_comment_url":"https://api.github.com/repos/trilogy-group/arangodb/issues/comments{/number}","contents_url":"https://api.github.com/repos/trilogy-group/arangodb/contents/{+path}","compare_url":"https://api.github.com/repos/trilogy-group/arangodb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/trilogy-group/arangodb/merges","archive_url":"https://api.github.com/repos/trilogy-group/arangodb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/trilogy-group/arangodb/downloads","issues_url":"https://api.github.com/repos/trilogy-group/arangodb/issues{/number}","pulls_url":"https://api.github.com/repos/trilogy-group/arangodb/pulls{/number}","milestones_url":"https://api.github.com/repos/trilogy-group/arangodb/milestones{/number}","notifications_url":"https://api.github.com/repos/trilogy-group/arangodb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/trilogy-group/arangodb/labels{/name}","releases_url":"https://api.github.com/repos/trilogy-group/arangodb/releases{/id}","deployments_url":"https://api.github.com/repos/trilogy-group/arangodb/deployments","created_at":"2018-09-28T14:50:44Z","updated_at":"2018-09-28T14:52:51Z","pushed_at":"2018-09-28T15:07:26Z","git_url":"git://github.com/trilogy-group/arangodb.git","ssh_url":"git@github.com:trilogy-group/arangodb.git","clone_url":"https://github.com/trilogy-group/arangodb.git","svn_url":"https://github.com/trilogy-group/arangodb","homepage":"https://www.arangodb.com","size":857733,"stargazers_count":0,"watchers_count":0,"language":"C++","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":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"devel"}},"base":{"label":"arangodb:devel","ref":"devel","sha":"02d94ea602c3edaf1dbdfdc47eee9d6c41a191bf","user":{"login":"arangodb","id":5547849,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU1NDc4NDk=","avatar_url":"https://avatars0.githubusercontent.com/u/5547849?v=4","gravatar_id":"","url":"https://api.github.com/users/arangodb","html_url":"https://github.com/arangodb","followers_url":"https://api.github.com/users/arangodb/followers","following_url":"https://api.github.com/users/arangodb/following{/other_user}","gists_url":"https://api.github.com/users/arangodb/gists{/gist_id}","starred_url":"https://api.github.com/users/arangodb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arangodb/subscriptions","organizations_url":"https://api.github.com/users/arangodb/orgs","repos_url":"https://api.github.com/users/arangodb/repos","events_url":"https://api.github.com/users/arangodb/events{/privacy}","received_events_url":"https://api.github.com/users/arangodb/received_events","type":"Organization","site_admin":false},"repo":{"id":2649214,"node_id":"MDEwOlJlcG9zaXRvcnkyNjQ5MjE0","name":"arangodb","full_name":"arangodb/arangodb","private":false,"owner":{"login":"arangodb","id":5547849,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU1NDc4NDk=","avatar_url":"https://avatars0.githubusercontent.com/u/5547849?v=4","gravatar_id":"","url":"https://api.github.com/users/arangodb","html_url":"https://github.com/arangodb","followers_url":"https://api.github.com/users/arangodb/followers","following_url":"https://api.github.com/users/arangodb/following{/other_user}","gists_url":"https://api.github.com/users/arangodb/gists{/gist_id}","starred_url":"https://api.github.com/users/arangodb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arangodb/subscriptions","organizations_url":"https://api.github.com/users/arangodb/orgs","repos_url":"https://api.github.com/users/arangodb/repos","events_url":"https://api.github.com/users/arangodb/events{/privacy}","received_events_url":"https://api.github.com/users/arangodb/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/arangodb/arangodb","description":"🥑 ArangoDB is a native multi-model database with flexible data models for documents, graphs, and key-values. Build high performance applications using a convenient SQL-like query language or JavaScript extensions.","fork":false,"url":"https://api.github.com/repos/arangodb/arangodb","forks_url":"https://api.github.com/repos/arangodb/arangodb/forks","keys_url":"https://api.github.com/repos/arangodb/arangodb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/arangodb/arangodb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/arangodb/arangodb/teams","hooks_url":"https://api.github.com/repos/arangodb/arangodb/hooks","issue_events_url":"https://api.github.com/repos/arangodb/arangodb/issues/events{/number}","events_url":"https://api.github.com/repos/arangodb/arangodb/events","assignees_url":"https://api.github.com/repos/arangodb/arangodb/assignees{/user}","branches_url":"https://api.github.com/repos/arangodb/arangodb/branches{/branch}","tags_url":"https://api.github.com/repos/arangodb/arangodb/tags","blobs_url":"https://api.github.com/repos/arangodb/arangodb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/arangodb/arangodb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/arangodb/arangodb/git/refs{/sha}","trees_url":"https://api.github.com/repos/arangodb/arangodb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/arangodb/arangodb/statuses/{sha}","languages_url":"https://api.github.com/repos/arangodb/arangodb/languages","stargazers_url":"https://api.github.com/repos/arangodb/arangodb/stargazers","contributors_url":"https://api.github.com/repos/arangodb/arangodb/contributors","subscribers_url":"https://api.github.com/repos/arangodb/arangodb/subscribers","subscription_url":"https://api.github.com/repos/arangodb/arangodb/subscription","commits_url":"https://api.github.com/repos/arangodb/arangodb/commits{/sha}","git_commits_url":"https://api.github.com/repos/arangodb/arangodb/git/commits{/sha}","comments_url":"https://api.github.com/repos/arangodb/arangodb/comments{/number}","issue_comment_url":"https://api.github.com/repos/arangodb/arangodb/issues/comments{/number}","contents_url":"https://api.github.com/repos/arangodb/arangodb/contents/{+path}","compare_url":"https://api.github.com/repos/arangodb/arangodb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/arangodb/arangodb/merges","archive_url":"https://api.github.com/repos/arangodb/arangodb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/arangodb/arangodb/downloads","issues_url":"https://api.github.com/repos/arangodb/arangodb/issues{/number}","pulls_url":"https://api.github.com/repos/arangodb/arangodb/pulls{/number}","milestones_url":"https://api.github.com/repos/arangodb/arangodb/milestones{/number}","notifications_url":"https://api.github.com/repos/arangodb/arangodb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/arangodb/arangodb/labels{/name}","releases_url":"https://api.github.com/repos/arangodb/arangodb/releases{/id}","deployments_url":"https://api.github.com/repos/arangodb/arangodb/deployments","created_at":"2011-10-26T06:42:00Z","updated_at":"2018-09-28T15:07:21Z","pushed_at":"2018-09-28T15:07:14Z","git_url":"git://github.com/arangodb/arangodb.git","ssh_url":"git@github.com:arangodb/arangodb.git","clone_url":"https://github.com/arangodb/arangodb.git","svn_url":"https://github.com/arangodb/arangodb","homepage":"https://www.arangodb.com","size":857750,"stargazers_count":6444,"watchers_count":6444,"language":"C++","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":453,"mirror_url":null,"archived":false,"open_issues_count":456,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":453,"open_issues":456,"watchers":6444,"default_branch":"devel"}},"_links":{"self":{"href":"https://api.github.com/repos/arangodb/arangodb/pulls/6653"},"html":{"href":"https://github.com/arangodb/arangodb/pull/6653"},"issue":{"href":"https://api.github.com/repos/arangodb/arangodb/issues/6653"},"comments":{"href":"https://api.github.com/repos/arangodb/arangodb/issues/6653/comments"},"review_comments":{"href":"https://api.github.com/repos/arangodb/arangodb/pulls/6653/comments"},"review_comment":{"href":"https://api.github.com/repos/arangodb/arangodb/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/arangodb/arangodb/pulls/6653/commits"},"statuses":{"href":"https://api.github.com/repos/arangodb/arangodb/statuses/68c0fb96ad968c7d8dcf8aa844521cea4284ce39"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":109,"deletions":0,"changed_files":3}}
{"actor":{"display_login":"constantinos01"}}