dockerised with 1.1.3

This commit is contained in:
Henry Oswald
2018-05-22 17:25:17 +01:00
parent 231f8596ac
commit 88edf63ab5
8 changed files with 89 additions and 66 deletions

View File

@@ -1,33 +1,39 @@
# This file was auto-generated, do not edit it directly.
# Instead run bin/update_build_scripts from
# https://github.com/sharelatex/sharelatex-dev-environment
# Version: 1.0.0
# Version: 1.1.3
version: "2"
services:
test_unit:
image: node:6.14.1
build: .
volumes:
- .:/app
working_dir: /app
entrypoint: npm run test:unit
environment:
MOCHA_GREP: ${MOCHA_GREP}
command: npm run test:unit
user: node
test_acceptance:
image: node:6.14.1
build: .
volumes:
- .:/app
working_dir: /app
environment:
REDIS_HOST: redis
MONGO_HOST: mongo
POSTGRES_HOST: postgres
MOCHA_GREP: ${MOCHA_GREP}
user: node
depends_on:
- redis
- mongo
working_dir: /app
entrypoint: npm run test:acceptance
- redis
command: npm run test:acceptance
redis:
image: redis
mongo:
image: mongo:3.4