Revision 996e3f6864acb093f2796ca39de9eae48bcff92b authored by Kmaschta on 17 December 2018, 14:35:55 UTC, committed by Kmaschta on 17 December 2018, 14:35:55 UTC
1 parent e8401b9
docker-compose.spec.yml
version: "3"
services:
api:
build:
context: .
args:
node_env: e2e
environment:
NODE_ENV: "e2e"
EZMASTER_PUBLIC_URL: ${EZMASTER_PUBLIC_URL}
EZMASTER_MONGODB_HOST_PORT: mongo:27017
EXPOSE_TEST_CONTROLLER: "true"
links:
- mongo
depends_on:
- mongo
ports:
- 3000:3000
volumes:
- ./cypress/mocks/external:/app/external
istex-api:
image: node:10
volumes:
- .:/app
working_dir: /app
user: "${UID}:${GID}"
environment:
NODE_ENV: "test"
ports:
- 3011:3011
command: node --require @babel/register ./cypress/mocks/istexApi.js
mongo:
image: mongo:3.4.1
command: "--smallfiles"
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...