Skip to content
Permalink
master
Go to file
 
 
Cannot retrieve contributors at this time
21 lines (20 sloc) 456 Bytes
# Run tests in Docker `docker-compose up` on Node.js v14
# - install node deps first `docker-compose run agenda npm install`
version: "3"
services:
agenda:
image: node:14
command: npm test
working_dir: /usr/src/app
volumes:
- ./:/usr/src/app
environment:
- MONGODB_HOST=mongodb
links:
- mongodb
mongodb:
image: mongo:latest
ports:
- "27017:27017"
command:
- --storageEngine=wiredTiger