{"action":"closed","issue":{"url":"https://api.github.com/repos/drone/drone/issues/865","labels_url":"https://api.github.com/repos/drone/drone/issues/865/labels{/name}","comments_url":"https://api.github.com/repos/drone/drone/issues/865/comments","events_url":"https://api.github.com/repos/drone/drone/issues/865/events","html_url":"https://github.com/drone/drone/issues/865","id":56463859,"number":865,"title":"Extend YAML to allow Docker Parameters for Services","user":{"login":"dave-tucker","id":3781777,"avatar_url":"https://avatars.githubusercontent.com/u/3781777?v=3","gravatar_id":"","url":"https://api.github.com/users/dave-tucker","html_url":"https://github.com/dave-tucker","followers_url":"https://api.github.com/users/dave-tucker/followers","following_url":"https://api.github.com/users/dave-tucker/following{/other_user}","gists_url":"https://api.github.com/users/dave-tucker/gists{/gist_id}","starred_url":"https://api.github.com/users/dave-tucker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dave-tucker/subscriptions","organizations_url":"https://api.github.com/users/dave-tucker/orgs","repos_url":"https://api.github.com/users/dave-tucker/repos","events_url":"https://api.github.com/users/dave-tucker/events{/privacy}","received_events_url":"https://api.github.com/users/dave-tucker/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-02-04T00:51:05Z","updated_at":"2015-04-14T01:54:15Z","closed_at":"2015-04-14T01:54:15Z","body":"Let's say you want persistence for your `postgres` service\r\n\r\n```yaml\r\nservices:\r\n  - postgres\r\n    docker:\r\n      name: project_awesome_redis\r\n      volume: {{awesome_volume}}:/var/lib/pgsql/data\r\n```\r\n\r\nOr maybe you want to your services and build container to share the same network namespace (no linking)\r\n\r\n```yaml\r\nservices:\r\n  - davetucker/drone-ovs\r\n    docker:\r\n      name: project_awesome_ovs\r\n\r\ndocker: \r\n   - net: container:project_awesome_ovs\r\n```\r\n\r\nThere are potentially a lot more use cases, but these are the two that I can think of right now."}}