forked from nianticlabs/modron
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.ui.yaml
64 lines (58 loc) · 1.27 KB
/
docker-compose.ui.yaml
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
version: '3'
services:
modron_proxy:
container_name: modron_proxy
image: envoyproxy/envoy:v1.24-latest
volumes:
- ./docker/envoyproxy:/etc/envoy
ports:
- "8080:10000"
networks:
- modron
depends_on:
- modron_ui
- modron_fake
modron_fake:
container_name: modron_fake
build: src/
environment:
PORT: 8080
STORAGE: "MEM"
COLLECTOR: "FAKE"
ORG_ID: "0123456789"
ORG_SUFFIX: "@example.com"
GRPC_VERBOSITY: "DEBUG"
GRPC_TRACE: "all"
networks:
- modron
modron_ui:
container_name: modron_ui
build: ./src/ui
environment:
ENVIRONMENT: "E2E_TESTING"
DIST_PATH: "./ui"
PORT: 8080
networks:
- modron
modron_test:
container_name: modron_test
build:
context: ./src/ui/client
dockerfile: Dockerfile.e2e
depends_on:
- modron_proxy
environment:
CYPRESS_BASE_URL: "http://modron_proxy:10000"
command: npx cypress run
volumes:
- ./src/ui/client/cypress:/app/cypress:ro
- ./docker/cypress/tsconfig.json:/app/tsconfig.json
- ./docker/cypress/cypress.config.ts:/app/cypress.config.ts
networks:
- modron
volumes:
stats:
external: false
networks:
modron:
driver: bridge