version: '1' environment: DOCKER_RUBY_VERSION: 2.2 RUBY_IMAGE_TAG: 2.2-latest COMPOSE_FILE_EXT: development RAILS_ENV: test APRESS_GEMS_CREDENTIALS: "" compose: files: - docker-compose.yml - docker-compose.${COMPOSE_FILE_EXT}.yml interaction: sh: service: app irb: service: app command: bundle exec irb bundle: service: app command: bundle rake: service: app command: bundle exec rake appraisal: service: app command: bundle exec appraisal rspec: service: app command: bundle exec appraisal bundle exec rspec clean: service: app command: rm -f Gemfile.lock gemfiles/*.gemfile.* provision: - docker volume create --name bundler_data - dip bundle config --local https://gems.railsc.ru/ ${APRESS_GEMS_CREDENTIALS} - dip clean - dip bundle install - dip appraisal install