{"action":"opened","issue":{"url":"https://api.github.com/repos/rancher/rancher-compose/issues/96","labels_url":"https://api.github.com/repos/rancher/rancher-compose/issues/96/labels{/name}","comments_url":"https://api.github.com/repos/rancher/rancher-compose/issues/96/comments","events_url":"https://api.github.com/repos/rancher/rancher-compose/issues/96/events","html_url":"https://github.com/rancher/rancher-compose/issues/96","id":107905554,"number":96,"title":"attr: scale","user":{"login":"fentas","id":405182,"avatar_url":"https://avatars.githubusercontent.com/u/405182?v=3","gravatar_id":"","url":"https://api.github.com/users/fentas","html_url":"https://github.com/fentas","followers_url":"https://api.github.com/users/fentas/followers","following_url":"https://api.github.com/users/fentas/following{/other_user}","gists_url":"https://api.github.com/users/fentas/gists{/gist_id}","starred_url":"https://api.github.com/users/fentas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fentas/subscriptions","organizations_url":"https://api.github.com/users/fentas/orgs","repos_url":"https://api.github.com/users/fentas/repos","events_url":"https://api.github.com/users/fentas/events{/privacy}","received_events_url":"https://api.github.com/users/fentas/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-23T12:06:16Z","updated_at":"2015-09-23T12:06:16Z","closed_at":null,"body":"Question:\r\nI define services with the attr `scale` expecting if there is e.g. a 3 that it will start 3 containers.\r\nBut no luck. It is always 1. Intended?\r\nExample:\r\n```yaml\r\nmongo-replSet-rs0:\r\n  scale: 3\r\n  container_name: mongo-replSet-rs0\r\n  image: mongo:3.0\r\n  command: mongod --replSet rs0\r\n  stdin_open: true\r\n  tty: true\r\n  restart: always\r\n  ports:\r\n    - \"27017:27017\"\r\n    - \"28017:28017\"\r\n  volumes:\r\n    - /data/db:/data/db\r\n  labels:\r\n    io.rancher.scheduler.affinity:host_label: template=mongod\r\n    io.rancher.container.pull_image: always\r\n  health_check:\r\n    port: 28017\r\n    request_line: GET / HTTP/1.0\r\n    interval: 2000\r\n    healthy_threshold: 2\r\n    unhealthy_threshold: 3\r\n    response_timeout: 2000\r\n```"}}