{"action":"created","issue":{"url":"https://api.github.com/repos/cloudfoundry-community/docker-boshrelease/issues/45","labels_url":"https://api.github.com/repos/cloudfoundry-community/docker-boshrelease/issues/45/labels{/name}","comments_url":"https://api.github.com/repos/cloudfoundry-community/docker-boshrelease/issues/45/comments","events_url":"https://api.github.com/repos/cloudfoundry-community/docker-boshrelease/issues/45/events","html_url":"https://github.com/cloudfoundry-community/docker-boshrelease/issues/45","id":124931989,"number":45,"title":"multiple bind_volume for a a container : conflicting mount point","user":{"login":"poblin-orange","id":5381793,"avatar_url":"https://avatars.githubusercontent.com/u/5381793?v=3","gravatar_id":"","url":"https://api.github.com/users/poblin-orange","html_url":"https://github.com/poblin-orange","followers_url":"https://api.github.com/users/poblin-orange/followers","following_url":"https://api.github.com/users/poblin-orange/following{/other_user}","gists_url":"https://api.github.com/users/poblin-orange/gists{/gist_id}","starred_url":"https://api.github.com/users/poblin-orange/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/poblin-orange/subscriptions","organizations_url":"https://api.github.com/users/poblin-orange/orgs","repos_url":"https://api.github.com/users/poblin-orange/repos","events_url":"https://api.github.com/users/poblin-orange/events{/privacy}","received_events_url":"https://api.github.com/users/poblin-orange/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-01-05T09:55:22Z","updated_at":"2016-01-06T14:57:20Z","closed_at":null,"body":"Hello,\r\nI am trying to deploy a gitlab ce docker image in a bosh deployment.\r\nThe docker image is designed with 3 volumes, for log / config / data disctinct externalization (in our case, i expected 3 subdirs mountpoints in /var/vcap/store/containers/gitlab)\r\n\r\nIt seems the docker launch job-propertie.sh script uses a single directory for the 3 volumes\r\n```\r\n# Create a bind mount to a directory\r\nexport gitlab_bind_volumes=\"--volume=${CONTAINERS_STORE_DIR}/gitlab:/etc/gitlab --volume=${CONTAINERS_STORE_DIR}/gitlab:/var/log/gitlab --volume=${CONTAINERS_STORE_DIR}/gitlab:/var/opt/gitlab\"\r\n```\r\n\r\nHere the bosh manifest snippet for the gitlab docker image\r\n```\r\n      containers:\r\n        - name: gitlab\r\n          image: \"gitlab/gitlab-ce:rc\"\r\n          hostname: \"gitlab.example.com\"\r\n          #command: \"--dir /var/lib/redis/ --appendonly yes\"\r\n          bind_ports:\r\n            - \"80:80\"\r\n            - \"443:443\"\r\n            - \"2222:22\"\r\n          bind_volumes:\r\n            - \"/etc/gitlab\"\r\n            - \"/var/log/gitlab\"\r\n            - \"/var/opt/gitlab\"\r\n          memory: \"2024m\"\r\n```\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/cloudfoundry-community/docker-boshrelease/issues/comments/169345057","html_url":"https://github.com/cloudfoundry-community/docker-boshrelease/issues/45#issuecomment-169345057","issue_url":"https://api.github.com/repos/cloudfoundry-community/docker-boshrelease/issues/45","id":169345057,"user":{"login":"drnic","id":108,"avatar_url":"https://avatars.githubusercontent.com/u/108?v=3","gravatar_id":"","url":"https://api.github.com/users/drnic","html_url":"https://github.com/drnic","followers_url":"https://api.github.com/users/drnic/followers","following_url":"https://api.github.com/users/drnic/following{/other_user}","gists_url":"https://api.github.com/users/drnic/gists{/gist_id}","starred_url":"https://api.github.com/users/drnic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drnic/subscriptions","organizations_url":"https://api.github.com/users/drnic/orgs","repos_url":"https://api.github.com/users/drnic/repos","events_url":"https://api.github.com/users/drnic/events{/privacy}","received_events_url":"https://api.github.com/users/drnic/received_events","type":"User","site_admin":false},"created_at":"2016-01-06T14:57:20Z","updated_at":"2016-01-06T14:57:20Z","body":"Sorry, that's wrong of me. Reading the bosh release now."}}