version: "2"
services:
  cli:
    extends:
      service: img
    volumes:
      - ./:/opt/app/
  coverage:
    command: ["bundle", "exec", "rake", "coverage:server"]
    extends:
      service: img
    ports:
      - 3000:3000
    volumes:
      - coverage:/opt/app/coverage/
  document:
    command: ["bundle", "exec", "rake", "rdoc:server"]
    extends:
      service: img
    ports:
      - 3001:3001
    volumes:
      - document:/opt/app/doc/
  guard:
    command: ["bundle", "exec", "guard", "-i"]
    extends:
      service: cli
  img:
    build: ./
    image: extensible
  rdoc:
    command: ["bundle", "exec", "rake", "rdoc"]
    extends:
      service: cli
    volumes:
      - document:/opt/app/doc/
  release:
    command: ["bundle", "exec", "rake", "release:safe"]
    environment:
      - GIT_AUTHOR_NAME=Gabriel de Oliveira
      - GIT_AUTHOR_EMAIL=deoliveira.gab@gmail.com
      - GIT_COMMITTER_NAME=Gabriel de Oliveira
      - GIT_COMMITTER_EMAIL=deoliveira.gab@gmail.com
    extends:
      service: cli
    volumes:
      - ~/.ssh/:/root/.ssh/
  test:
    command: ["bundle", "exec", "rake", "coverage"]
    extends:
      service: cli
    volumes:
      - coverage:/opt/app/coverage/
volumes:
  coverage:
  document:

version: "2"
services:
  cli:
    extends:
      service: img
    volumes:
      - ./:/opt/app/
  coverage:
    command: ["bundle", "exec", "rake", "coverage:server"]
    extends:
      service: img
    ports:
      - 3000:3000
    volumes:
      - coverage:/opt/app/coverage/
  document:
    command: ["bundle", "exec", "rake", "rdoc:server"]
    extends:
      service: img
    ports:
      - 3001:3001
    volumes:
      - document:/opt/app/doc/
  guard:
    command: ["bundle", "exec", "guard", "-i"]
    extends:
      service: cli
  img:
    build: ./
    image: extensible
  rdoc:
    command: ["bundle", "exec", "rake", "rdoc"]
    extends:
      service: cli
    volumes:
      - document:/opt/app/doc/
  release:
    command: ["bundle", "exec", "rake", "release:safe"]
    extends:
      service: cli
    volumes:
      - ~/.ssh/:/root/.ssh/
  test:
    command: ["bundle", "exec", "rake", "coverage"]
    extends:
      service: cli
    volumes:
      - coverage:/opt/app/coverage/
volumes:
  coverage:
  document:

Remove GIT configuration values from `release` docker service. It has been moved to the repo configuration in `.git/config` instead.
Remove GIT configuration values from `release` docker service. It has been moved to the repo configuration in `.git/config` instead.
