docker-compose.yml in sapience-2.9.1 vs docker-compose.yml in sapience-2.10
- old
+ new
@@ -6,17 +6,17 @@
environment:
RABBITMQ_DEFAULT_USER: sapience
RABBITMQ_DEFAULT_PASS: tests
postgres:
- image: postgres:latest
+ image: postgres:9
environment:
POSTGRES_USER: sapience
POSTGRES_PASSWORD: tests
base:
- image: ruby:2.3
+ image: ruby:2.4
cpu_shares: 4
# Specify the directory from where all commands sent to the container will be
# issued to where the code is mounted:
working_dir: /usr/src/app
@@ -30,12 +30,18 @@
# - vendor/bundle:/usr/local/bundle
# Mount our app code directory (".") into our app containers at the
# "/usr/src/app" folder:
- .:/usr/src/app
+ reevoocop:
+ extends:
+ service: base
+ entrypoint: /usr/src/app/dev-entrypoint.sh
+ command: bundle exec rake reevoocop
+ environment:
+ PATH: /usr/src/app/bin:/usr/local/bundle/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
-
rspec:
extends:
service: base
entrypoint: /usr/src/app/dev-entrypoint.sh
command: bundle exec rake
@@ -44,14 +50,13 @@
environment:
CODECLIMATE_REPO_TOKEN: 204dc055302da6aed94379e249aa0645636d1d1794920c62db05c5fa968215de
PATH: /usr/src/app/bin:/usr/local/bundle/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
-
rails32:
extends:
service: base
- image: ruby:2.1
+ image: ruby:2.3
working_dir: /usr/src/app/test_apps/rails_3_2
entrypoint: /usr/src/app/dev-entrypoint.sh
command: bundle exec rspec
depends_on:
- rabbitmq