- Ruby 3.0.0
- Rails 6.1
- Needs mongo and redis
- Make sure
mongo
andredis
are running bin/rails test
docker-compose up --build
will set up 5 containers:
mongo
redis
web
- the application running in development modechecker
- a small container that makes aGET /healthiness
request every 2 secondstests
- runs the test suite once
The application is shipped via a Docker image and is configured purely through environment variables. Here they are:
MONGODB_HOSTS=localhost:27017
REDIS_HOST=localhost
REDIS_DEFAULT_DB=0
REDIS_USER
REDIS_PASSWORD