-
Notifications
You must be signed in to change notification settings - Fork 50
/
docker-compose.e2e.yml
80 lines (71 loc) · 1.83 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
version: '3.1'
services:
management:
environment:
- GIT_URL=ssh://git@git/tweek/tests
editor:
environment:
- CONTINUOUS_UPDATER_INTERVAL=500
- REQUIRE_AUTH=true
- TWEEK_AUTH_SCHEMES=httpDigest
- AUTH_DIGEST_CREDENTIALS=user:pwd
authoring:
environment:
- GIT_URL=ssh://git@git/tweek/tests
- CONTINUOUS_UPDATER_INTERVAL=500
api:
environment:
- CorsPolicies__Keys__Origins=http://editor:3000,http://testorigin
- CorsPolicies__Keys__Methods=GET
- CorsPolicies__Keys__MaxPreflightAge=60
- CorsPolicies__Keys__Headers=
- CorsPolicies__Keys__ExposedHeaders=
- CorsEnabled=true
selenium:
image: selenium/standalone-chrome:3.4.0
container_name: selenium
e2e-ui:
build: ../../e2e/ui
container_name: e2e-ui
links:
- selenium
depends_on:
- selenium
- api
- authoring
- management
- editor
environment:
- EDITOR_URL=http://editor:3000/
- TWEEK_API_URL=http://api/
- AUTHORING_URL=http://authoring:3000/
- GIT_PRIVATE_KEY_PATH=/run/secrets/tweek_ssh_private_key
- AUTH_DIGEST_CREDENTIALS=user:pwd
secrets:
- tweek_ssh_private_key
e2e-integration:
build: ../../e2e/integration
container_name: e2e-integration
depends_on:
- api
- authoring
- management
environment:
- API_URL=http://api
- AUTHORING_URL=http://authoring:3000
- GIT_PRIVATE_KEY_PATH=/run/secrets/tweek_ssh_private_key
secrets:
- tweek_ssh_private_key
smoke-tests:
build:
context: ../../
dockerfile: TweekApiSmokeTestDockerfile
container_name: smoke-tests
depends_on:
- api
- management
environment:
- TWEEK_API_URL=http://api/
secrets:
tweek_ssh_private_key:
file: ./ssh/tweekgit