update build script and add load balancer agent

This commit is contained in:
Henry Oswald
2018-03-29 12:12:29 +01:00
parent ec75f9fa67
commit b5a7eabaab
13 changed files with 184 additions and 3628 deletions

View File

@@ -11,7 +11,8 @@ services:
volumes:
- .:/app
working_dir: /app
command: npm run test:unit
user: node
entrypoint: npm run test:unit
test_acceptance:
build: .
@@ -24,10 +25,11 @@ services:
environment:
REDIS_HOST: redis
MONGO_HOST: mongo
user: node
depends_on:
- redis
- mongo
command: npm run test:acceptance
entrypoint: npm run test:acceptance
redis:
image: redis