-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose-e2e.yml
48 lines (47 loc) · 1.19 KB
/
docker-compose-e2e.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
version: "3"
services:
lev-web-ui:
build:
context: .
args:
HTTP_PROXY: ''
HTTPS_PROXY: ''
ports:
- "8001:8001"
environment:
API_HOST: mock-api
API_PORT: 8080
MOCK: "true"
IAM_USER: [email protected]
REDIS_CONNECTION_STRING: "redis://redis-service:6379"
# REDIS_HOST: redis-service
# REDIS_PORT: 6379
depends_on:
- redis-service
- mock-api
mock-api:
image: 113355358853.dkr.ecr.eu-west-1.amazonaws.com/ho/hmpo/lev/api/lev-api:13f6c8908b156ab91537671146b3f179ff4a2b01
environment:
MOCK: "true"
ports:
- "8080:8080"
redis-service:
image: 113355358853.dkr.ecr.eu-west-1.amazonaws.com/ho/hmpo/lev/bac/lev-redis:444d9ba50bb252b24de6b3a20ba7c6a9370a79e3
ports:
- "6379:6379"
acceptance:
build:
context: .
args:
HTTP_PROXY: ''
HTTPS_PROXY: ''
dockerfile: Dockerfile-e2e
depends_on:
- lev-web-ui
- mock-api
environment:
- CYPRESS_baseUrl=http://lev-web-ui:8001
command: npm cypress run --headless --config-file ./cypress.config.js
volumes:
- ./cypress:/cypress
- ./cypress.config.js:/cypress.config.js