Revision 1d861f142634ed96a0fbe171ba39c498656e8711 authored by Nicolas Thouvenin on 18 January 2019, 10:21:56 UTC, committed by Nicolas Thouvenin on 18 January 2019, 10:21:56 UTC
1 parent 05d453c
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 ...