mirror of
https://github.com/aasm/aasm
synced 2023-03-27 23:22:41 -04:00
65073e360a
* Add persistence for NoBrainer * Add tests for NoBrainer * Show the ORM version when running the tests * Add a Dockerfile and a docker-compose.yml file allowing to run from anywhere very easily the test suite with `docker-compose run --rm aasm\' * Moves the Mongoid database name definition in the gem loader (avoiding code repetition) * Update the CHANGELOG.md and the README.md files * Add Rails generator for NoBrainer
40 lines
876 B
YAML
40 lines
876 B
YAML
version: "2"
|
|
|
|
services:
|
|
aasm:
|
|
image: aasm/aasm
|
|
build: .
|
|
command: bash -c 'bundle exec appraisal install && bundle exec appraisal rspec'
|
|
environment:
|
|
- DYNAMODB_HOST=dynamodb
|
|
- DYNAMODB_PORT=8000
|
|
- MONGODB_HOST=mongo
|
|
- MONGODB_PORT=27017
|
|
- RAILS_ENV=development
|
|
- REDIS_HOST=redis
|
|
- REDIS_PORT=6379
|
|
- RETHINKDB_DB=rethinkdb_test
|
|
- RETHINKDB_HOST=rethinkdb
|
|
- RETHINKDB_PORT=28015
|
|
depends_on:
|
|
- dynamodb
|
|
- mongo
|
|
- redis
|
|
- rethinkdb
|
|
volumes:
|
|
- .:/application
|
|
volumes_from:
|
|
- bundle
|
|
bundle:
|
|
image: aasm/aasm
|
|
command: echo Bundler data container
|
|
volumes:
|
|
- /bundle
|
|
dynamodb:
|
|
image: cnadiminti/dynamodb-local:2017-02-16
|
|
mongo:
|
|
image: mongo:3.6.1
|
|
redis:
|
|
image: redis:4.0.6-alpine
|
|
rethinkdb:
|
|
image: rethinkdb:2.3.6
|