version: '2' services: consul: image: consul ports: - '8500:8500' default: build: . command: bash -l -c 'sleep 2 && bundle exec rspec spec' links: - consul volumes: - .:/gem/